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.001397/0.001397, allocations: 110.1 kB / 16.42 MB, free: 6.453 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.001254/0.001254, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.211/2.211, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002327/0.002327, allocations: 63.91 kB / 0.9516 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9427/0.9451, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04008/0.9852, allocations: 33.32 MB / 1.121 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02756/1.013, allocations: 14.83 MB / 1.136 GB, free: 4.605 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00526/1.018, allocations: 156.6 kB / 1.136 GB, free: 4.555 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01142/1.03, allocations: 3.656 MB / 1.139 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01233/1.042, allocations: 2.992 MB / 1.142 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.008339/1.05, allocations: 2.324 MB / 1.145 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01517/1.066, allocations: 8.84 MB / 1.153 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01906/1.085, allocations: 9.563 MB / 1.163 GB, free: 7.309 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01261/1.097, allocations: 4.019 MB / 1.166 GB, free: 5.57 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0098/1.107, allocations: 4.037 MB / 1.17 GB, free: 3.262 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.003798/1.111, allocations: 0.7162 MB / 1.171 GB, free: 3.262 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008931/1.12, allocations: 1.725 MB / 1.173 GB, free: 2.711 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.006848/1.127, allocations: 2.826 MB / 1.176 GB, free: 0.875 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0104/1.137, allocations: 3.393 MB / 1.179 GB, free: 14.52 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01852/1.156, allocations: 11.2 MB / 1.19 GB, free: 6.395 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.381e-06/1.156, allocations: 4 kB / 1.19 GB, free: 6.391 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.733e-06/1.156, allocations: 4 kB / 1.19 GB, free: 6.387 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0004042/1.156, allocations: 0 / 1.19 GB, free: 6.387 MB / 0.92 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.02073/1.177, allocations: 5.974 MB / 1.196 GB, free: 344 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.069e-05/1.177, allocations: 8.031 kB / 1.196 GB, free: 336 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009428/1.187, allocations: 1.142 MB / 1.197 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01203/1.199, allocations: 3.524 MB / 1.2 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004603/1.199, allocations: 370.4 kB / 1.201 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002888/1.202, allocations: 0.4961 MB / 1.201 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02328/1.225, allocations: 7.993 MB / 1.209 GB, free: 2.445 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003797/1.226, allocations: 27.77 kB / 1.209 GB, free: 2.418 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002441/1.228, allocations: 216 kB / 1.209 GB, free: 2.207 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001369/1.23, allocations: 433.6 kB / 1.209 GB, free: 1.781 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01482/1.244, allocations: 6.085 MB / 1.215 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04949/1.294, allocations: 34.9 MB / 1.25 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003186/1.297, allocations: 2.03 MB / 1.251 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00262/1.3, allocations: 1.869 MB / 1.253 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.339e-05/1.3, allocations: 18 kB / 1.253 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.846e-05/1.3, allocations: 60.34 kB / 1.253 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=171): time 4.198e-06/1.3, allocations: 0 / 1.253 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of matching and sorting (n=276): time 0.1547/1.455, allocations: 38.9 MB / 1.291 GB, free: 10.61 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/1.455, allocations: 81.58 kB / 1.291 GB, free: 10.51 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003889/1.459, allocations: 2.278 MB / 1.294 GB, free: 8.219 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.000411/1.459, allocations: 73.7 kB / 1.294 GB, free: 8.141 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001589/1.461, allocations: 2.272 MB / 1.296 GB, free: 5.84 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009079/1.462, allocations: 0.9357 MB / 1.297 GB, free: 4.891 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008941/1.463, allocations: 0.5062 MB / 1.297 GB, free: 4.375 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 9.751e-05/1.463, allocations: 301.1 kB / 1.298 GB, free: 4.078 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002874/1.466, allocations: 1.977 MB / 1.3 GB, free: 2.098 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003213/1.469, allocations: 2.602 MB / 1.302 GB, free: 15.25 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006343/1.475, allocations: 4.925 MB / 1.307 GB, free: 10.05 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.547e-05/1.475, allocations: 7.938 kB / 1.307 GB, free: 10.04 MB / 1.045 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.0145/1.49, allocations: 7.761 MB / 1.315 GB, free: 2.211 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.902e-05/1.49, allocations: 12 kB / 1.315 GB, free: 2.199 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.759e-05/1.49, allocations: 16 kB / 1.315 GB, free: 2.184 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009408/1.499, allocations: 3.213 MB / 1.318 GB, free: 14.95 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001796/1.501, allocations: 399.3 kB / 1.318 GB, free: 14.56 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0487/1.55, allocations: 33.89 MB / 1.351 GB, free: 11.83 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004085/1.554, allocations: 159.8 kB / 1.351 GB, free: 11.67 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005165/1.554, allocations: 112 kB / 1.351 GB, free: 11.56 MB / 1.092 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.003888/1.558, allocations: 1.793 MB / 1.353 GB, free: 9.758 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009056/1.559, allocations: 332.1 kB / 1.354 GB, free: 9.43 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01471/1.574, allocations: 7.364 MB / 1.361 GB, free: 1.984 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.736e-05/1.574, allocations: 11.95 kB / 1.361 GB, free: 1.973 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/1.574, allocations: 4 kB / 1.361 GB, free: 1.969 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002801/1.577, allocations: 0.8016 MB / 1.361 GB, free: 1.145 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001006/1.578, allocations: 51.94 kB / 1.362 GB, free: 1.094 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002138/1.58, allocations: 135.8 kB / 1.362 GB, free: 0.9609 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000742/1.581, allocations: 329.6 kB / 1.362 GB, free: 0.6367 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01908/1.6, allocations: 7.963 MB / 1.37 GB, free: 8.602 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01043/1.61, allocations: 6.977 MB / 1.377 GB, free: 1.547 MB / 1.107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002956/1.613, allocations: 2.266 MB / 1.379 GB, free: 15.27 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002957/1.616, allocations: 1.529 MB / 1.38 GB, free: 13.73 MB / 1.123 GB Notification: Performance of Backend: time 1.372e-06/1.616, allocations: 0 / 1.38 GB, free: 13.73 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01306/1.629, allocations: 5.881 MB / 1.386 GB, free: 7.766 MB / 1.123 GB Notification: Performance of SimCode: time 0.02303/1.653, allocations: 11.24 MB / 1.397 GB, free: 12.53 MB / 1.139 GB Notification: Performance of Templates: time 0.1336/1.786, allocations: 79.89 MB / 1.475 GB, free: 13.62 MB / 1.217 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/jenkins1/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