Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009883/0.0009885, allocations: 91.14 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007/0.007001, allocations: 173.4 kB / 16.27 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.537/2.537, allocations: 390.9 MB / 0.6663 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003898/0.0003898, allocations: 8 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.822/0.8224, allocations: 142.4 MB / 0.955 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04199/0.8645, allocations: 32.21 MB / 0.9865 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.0282/0.8927, allocations: 14.63 MB / 1.001 GB, free: 412 kB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005947/0.8987, allocations: 135.2 kB / 1.001 GB, free: 276 kB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.004533/0.9033, allocations: 0.725 MB / 1.002 GB, free: 15.54 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01385/0.9172, allocations: 2.705 MB / 1.004 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.007636/0.9249, allocations: 1.99 MB / 1.006 GB, free: 10.83 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01819/0.9431, allocations: 12.2 MB / 1.018 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0211/0.9642, allocations: 11.52 MB / 1.029 GB, free: 2.969 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007873/0.9722, allocations: 2.969 MB / 1.032 GB, free: 15.99 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007498/0.9797, allocations: 3.507 MB / 1.036 GB, free: 12.47 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.002013/0.9818, allocations: 296 kB / 1.036 GB, free: 12.18 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005205/0.987, allocations: 1.556 MB / 1.038 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.007001/0.994, allocations: 2.295 MB / 1.04 GB, free: 8.32 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.009292/1.003, allocations: 2.785 MB / 1.042 GB, free: 5.516 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01498/1.018, allocations: 10.66 MB / 1.053 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/1.018, allocations: 0 / 1.053 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.747e-06/1.018, allocations: 0 / 1.053 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0004283/1.019, allocations: 0 / 1.053 GB, free: 10.82 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01291/1.032, allocations: 4.833 MB / 1.058 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/1.032, allocations: 8.031 kB / 1.058 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008219/1.04, allocations: 1.146 MB / 1.059 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007873/1.048, allocations: 3.328 MB / 1.062 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003857/1.048, allocations: 374.4 kB / 1.062 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001801/1.05, allocations: 500 kB / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01826/1.069, allocations: 7.993 MB / 1.071 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001749/1.069, allocations: 27.78 kB / 1.071 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007833/1.07, allocations: 216 kB / 1.071 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001132/1.071, allocations: 433.6 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01243/1.083, allocations: 6.088 MB / 1.077 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04418/1.127, allocations: 35.23 MB / 1.112 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002969/1.13, allocations: 2.026 MB / 1.114 GB, free: 9.004 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002517/1.133, allocations: 1.854 MB / 1.115 GB, free: 7.152 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-05/1.133, allocations: 18 kB / 1.115 GB, free: 7.137 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.17e-05/1.133, allocations: 68.48 kB / 1.115 GB, free: 7.059 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=171): time 3.236e-06/1.133, allocations: 0 / 1.115 GB, free: 7.059 MB / 0.8731 GB Notification: Performance of matching and sorting (n=276): time 0.1543/1.287, allocations: 38.99 MB / 1.154 GB, free: 15.96 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.429e-05/1.288, allocations: 81.58 kB / 1.154 GB, free: 15.87 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003604/1.291, allocations: 2.278 MB / 1.156 GB, free: 13.58 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0004768/1.292, allocations: 73.7 kB / 1.156 GB, free: 13.5 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001698/1.293, allocations: 2.276 MB / 1.158 GB, free: 11.2 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001075/1.294, allocations: 0.9319 MB / 1.159 GB, free: 10.25 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003835/1.295, allocations: 235.8 kB / 1.159 GB, free: 10.01 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001043/1.295, allocations: 305.1 kB / 1.16 GB, free: 9.711 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002895/1.298, allocations: 1.973 MB / 1.162 GB, free: 7.734 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003433/1.301, allocations: 2.595 MB / 1.164 GB, free: 4.895 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006843/1.308, allocations: 4.937 MB / 1.169 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.405e-05/1.308, allocations: 4 kB / 1.169 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01549/1.324, allocations: 7.762 MB / 1.176 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.919e-05/1.324, allocations: 13.09 kB / 1.176 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.958e-05/1.324, allocations: 23.92 kB / 1.176 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009743/1.334, allocations: 3.217 MB / 1.18 GB, free: 4.574 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001876/1.336, allocations: 403.1 kB / 1.18 GB, free: 4.184 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04433/1.38, allocations: 31.18 MB / 1.21 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003738/1.384, allocations: 159.8 kB / 1.211 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000339/1.384, allocations: 108 kB / 1.211 GB, free: 3.934 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004016/1.388, allocations: 1.801 MB / 1.212 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007698/1.389, allocations: 328.1 kB / 1.213 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01429/1.403, allocations: 7.36 MB / 1.22 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-05/1.403, allocations: 24 kB / 1.22 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.032e-05/1.403, allocations: 32 kB / 1.22 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-05/1.403, allocations: 15.94 kB / 1.22 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02527/1.429, allocations: 12.92 MB / 1.233 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.627e-05/1.429, allocations: 8.844 kB / 1.233 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001226/1.43, allocations: 235.6 kB / 1.233 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00894/1.439, allocations: 2.849 MB / 1.236 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003836/1.439, allocations: 52 kB / 1.236 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7036/2.143, allocations: 29.97 MB / 1.265 GB, free: 270.8 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.464e-05/2.143, allocations: 10.72 kB / 1.265 GB, free: 270.8 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0151/2.158, allocations: 6.885 MB / 1.272 GB, free: 270.1 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002291/2.16, allocations: 0.7878 MB / 1.272 GB, free: 270 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007989/2.161, allocations: 54.64 kB / 1.273 GB, free: 270 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002076/2.163, allocations: 168 kB / 1.273 GB, free: 270 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001044/2.164, allocations: 252 kB / 1.273 GB, free: 270 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002342/2.165, allocations: 74.56 kB / 1.273 GB, free: 270 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002444/2.167, allocations: 1.527 MB / 1.275 GB, free: 269.7 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.8e-07/2.167, allocations: 1.031 kB / 1.275 GB, free: 269.7 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00508/2.172, allocations: 1.369 MB / 1.276 GB, free: 269.5 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004979/2.173, allocations: 177.4 kB / 1.276 GB, free: 269.4 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01228/2.185, allocations: 6.908 MB / 1.283 GB, free: 266.3 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.238e-05/2.185, allocations: 5.375 kB / 1.283 GB, free: 266.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.008101/2.193, allocations: 4.422 MB / 1.287 GB, free: 264.2 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008066/2.201, allocations: 1.036 MB / 1.288 GB, free: 263.9 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0161/2.217, allocations: 12.5 MB / 1.3 GB, free: 257.2 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003511/2.221, allocations: 3.643 MB / 1.304 GB, free: 255.9 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002232/2.223, allocations: 0.5486 MB / 1.304 GB, free: 255.7 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003846/2.224, allocations: 162.7 kB / 1.305 GB, free: 255.7 MB / 1.014 GB Notification: Performance of SimCode: time 8.72e-07/2.224, allocations: 0 / 1.305 GB, free: 255.7 MB / 1.014 GB Notification: Performance of Templates: time 0.1009/2.325, allocations: 73.44 MB / 1.376 GB, free: 188 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches