Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009044/0.0009044, allocations: 81.86 kB / 20.68 MB, free: 3.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009246/0.0009246, allocations: 185 kB / 24.09 MB, free: 416 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9083/0.9083, allocations: 177.1 MB / 204.5 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.682/1.682, allocations: 359 MB / 0.6055 GB, free: 10.86 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.7876 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.705e-05/1.856e-05, allocations: 6.25 kB / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.008531/0.00855, allocations: 11.57 MB / 0.7989 GB, free: 0.5625 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004528/0.01308, allocations: 3.608 MB / 0.8024 GB, free: 12.97 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006677/0.01375, allocations: 115.1 kB / 0.8025 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.000826/0.01457, allocations: 497 kB / 0.803 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001223/0.01579, allocations: 1.116 MB / 0.8041 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.01696, allocations: 1.01 MB / 0.8051 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.002912/0.01987, allocations: 4.865 MB / 0.8098 GB, free: 5.367 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002519/0.02239, allocations: 3.136 MB / 0.8129 GB, free: 2.168 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00243/0.02482, allocations: 2.996 MB / 0.8158 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002109/0.02693, allocations: 2.373 MB / 0.8181 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0004449/0.02737, allocations: 432 kB / 0.8185 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006455/0.02802, allocations: 0.5037 MB / 0.819 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.001039/0.02906, allocations: 1.808 MB / 0.8208 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0009679/0.03003, allocations: 1.349 MB / 0.8221 GB, free: 8.703 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.00214/0.03217, allocations: 3.35 MB / 0.8254 GB, free: 5.344 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.03217, allocations: 0 / 0.8254 GB, free: 5.344 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.02e-07/0.03217, allocations: 0.8438 kB / 0.8254 GB, free: 5.344 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.433e-05/0.0322, allocations: 0 / 0.8254 GB, free: 5.344 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.003197/0.03539, allocations: 3.574 MB / 0.8289 GB, free: 1.723 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.03543, allocations: 11.97 kB / 0.8289 GB, free: 1.711 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001593/0.03702, allocations: 0.8999 MB / 0.8297 GB, free: 0.8086 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001672/0.03869, allocations: 1.755 MB / 0.8315 GB, free: 15 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.0388, allocations: 226.2 kB / 0.8317 GB, free: 14.79 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002792/0.03908, allocations: 300.3 kB / 0.832 GB, free: 14.49 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002501/0.04158, allocations: 2.94 MB / 0.8348 GB, free: 11.21 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.894e-05/0.04163, allocations: 16.05 kB / 0.8349 GB, free: 11.19 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001817/0.04181, allocations: 131.9 kB / 0.835 GB, free: 11.06 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002099/0.04202, allocations: 213.8 kB / 0.8352 GB, free: 10.85 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.04319, allocations: 0.8941 MB / 0.8361 GB, free: 9.941 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008239/0.05143, allocations: 13.64 MB / 0.8494 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005094/0.05194, allocations: 0.5052 MB / 0.8499 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003905/0.05233, allocations: 386.3 kB / 0.8502 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.267e-05/0.05238, allocations: 25 kB / 0.8503 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.05241, allocations: 46.39 kB / 0.8503 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=107): time 2.094e-06/0.05241, allocations: 0 / 0.8503 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of matching and sorting (n=138): time 0.006181/0.05859, allocations: 3.818 MB / 0.854 GB, free: 7.109 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.05862, allocations: 72.66 kB / 0.8541 GB, free: 7.027 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006137/0.05923, allocations: 0.9844 MB / 0.8551 GB, free: 6.031 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.629e-05/0.05929, allocations: 49.7 kB / 0.8551 GB, free: 5.977 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005485/0.05983, allocations: 1.392 MB / 0.8565 GB, free: 4.57 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002545/0.06009, allocations: 0.5114 MB / 0.857 GB, free: 4.055 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002919/0.06038, allocations: 309 kB / 0.8573 GB, free: 3.746 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.503e-05/0.06048, allocations: 480.7 kB / 0.8577 GB, free: 3.273 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002702/0.06075, allocations: 227.8 kB / 0.8579 GB, free: 3.051 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005338/0.06128, allocations: 0.8141 MB / 0.8587 GB, free: 2 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009187/0.0622, allocations: 1.18 MB / 0.8599 GB, free: 0.5898 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.0622, allocations: 4 kB / 0.8599 GB, free: 0.5859 MB / 0.8073 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.002151/0.06435, allocations: 1.751 MB / 0.8616 GB, free: 14.81 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.06437, allocations: 10.19 kB / 0.8616 GB, free: 14.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.06439, allocations: 19.88 kB / 0.8616 GB, free: 14.79 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001743/0.06613, allocations: 0.8913 MB / 0.8625 GB, free: 13.89 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004256/0.06656, allocations: 231.6 kB / 0.8627 GB, free: 13.66 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006278/0.07283, allocations: 8.733 MB / 0.8712 GB, free: 4.594 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003981/0.07323, allocations: 44 kB / 0.8713 GB, free: 4.551 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.629e-05/0.0733, allocations: 51.98 kB / 0.8713 GB, free: 4.5 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003963/0.07369, allocations: 252.1 kB / 0.8716 GB, free: 4.242 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/0.07387, allocations: 199 kB / 0.8718 GB, free: 4.047 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002055/0.07592, allocations: 1.509 MB / 0.8732 GB, free: 2.512 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.07593, allocations: 12 kB / 0.8733 GB, free: 2.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.07594, allocations: 12 kB / 0.8733 GB, free: 2.488 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.07595, allocations: 11.95 kB / 0.8733 GB, free: 2.477 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003626/0.07957, allocations: 3.215 MB / 0.8764 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.07958, allocations: 4 kB / 0.8764 GB, free: 15.13 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/0.07982, allocations: 111.8 kB / 0.8765 GB, free: 15.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001543/0.08136, allocations: 0.8195 MB / 0.8773 GB, free: 14.2 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.988e-05/0.08141, allocations: 31.94 kB / 0.8774 GB, free: 14.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005852/0.08726, allocations: 8.684 MB / 0.8858 GB, free: 5.141 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.08727, allocations: 11.98 kB / 0.8859 GB, free: 5.129 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/0.08907, allocations: 1.734 MB / 0.8875 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003277/0.0894, allocations: 290.9 kB / 0.8878 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.127e-05/0.08949, allocations: 31.98 kB / 0.8879 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003009/0.08979, allocations: 32 kB / 0.8879 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.08994, allocations: 132.6 kB / 0.888 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.672e-05/0.08998, allocations: 28 kB / 0.888 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003338/0.09032, allocations: 0.5495 MB / 0.8886 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.09032, allocations: 3.938 kB / 0.8886 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001046/0.09136, allocations: 0.668 MB / 0.8892 GB, free: 1.559 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001506/0.09151, allocations: 143.1 kB / 0.8894 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001699/0.09321, allocations: 1.952 MB / 0.8913 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.09322, allocations: 0 / 0.8913 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001144/0.09436, allocations: 1.49 MB / 0.8927 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.09538, allocations: 495.6 kB / 0.8932 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004393/0.09978, allocations: 4.772 MB / 0.8979 GB, free: 8.496 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005815/0.1004, allocations: 0.7961 MB / 0.8986 GB, free: 7.672 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003545/0.1007, allocations: 181.5 kB / 0.8988 GB, free: 7.488 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005594/0.1013, allocations: 453.9 kB / 0.8992 GB, free: 7.043 MB / 0.8542 GB Notification: Performance of SimCode: time 8.41e-07/0.1013, allocations: 0 / 0.8992 GB, free: 7.043 MB / 0.8542 GB Notification: Performance of Templates: time 0.03629/0.1376, allocations: 35.62 MB / 0.934 GB, free: 4.059 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.214554313570261]