Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 109.5 kB / 16.42 MB, free: 6.496 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.001438/0.001438, allocations: 189.5 kB / 17.35 MB, free: 5.73 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.373/1.373, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.659/2.659, allocations: 469.4 MB / 0.7428 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 64.12 kB / 1.066 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9438/0.9453, allocations: 159.1 MB / 1.221 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03476/0.9801, allocations: 30.77 MB / 1.251 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02186/1.002, allocations: 13.58 MB / 1.264 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003862/1.006, allocations: 143.2 kB / 1.264 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.008439/1.014, allocations: 3.204 MB / 1.267 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.008346/1.023, allocations: 2.762 MB / 1.27 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005846/1.029, allocations: 2.015 MB / 1.272 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01045/1.039, allocations: 7.638 MB / 1.28 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01164/1.051, allocations: 8.233 MB / 1.288 GB, free: 13.68 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00621/1.057, allocations: 3.467 MB / 1.291 GB, free: 10.21 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006393/1.063, allocations: 3.387 MB / 1.294 GB, free: 6.809 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.002367/1.066, allocations: 0.5977 MB / 1.295 GB, free: 6.211 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004803/1.071, allocations: 1.49 MB / 1.296 GB, free: 4.719 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003968/1.075, allocations: 2.37 MB / 1.299 GB, free: 2.344 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.005691/1.08, allocations: 2.882 MB / 1.301 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01256/1.093, allocations: 9.461 MB / 1.311 GB, free: 5.961 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.433e-06/1.093, allocations: 0 / 1.311 GB, free: 5.961 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.734e-06/1.093, allocations: 0 / 1.311 GB, free: 5.961 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0003391/1.093, allocations: 0 / 1.311 GB, free: 5.961 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01445/1.108, allocations: 5.136 MB / 1.316 GB, free: 0.7461 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/1.108, allocations: 8.625 kB / 1.316 GB, free: 0.7383 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006915/1.115, allocations: 1.002 MB / 1.317 GB, free: 15.73 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009165/1.124, allocations: 3.067 MB / 1.32 GB, free: 12.58 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003039/1.124, allocations: 316.8 kB / 1.32 GB, free: 12.27 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001514/1.126, allocations: 420 kB / 1.32 GB, free: 11.86 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01493/1.141, allocations: 6.799 MB / 1.327 GB, free: 4.766 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001996/1.141, allocations: 19.78 kB / 1.327 GB, free: 4.746 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001167/1.142, allocations: 184 kB / 1.327 GB, free: 4.566 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009674/1.143, allocations: 368 kB / 1.328 GB, free: 4.203 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01065/1.154, allocations: 5.118 MB / 1.333 GB, free: 15.07 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03834/1.192, allocations: 30.51 MB / 1.362 GB, free: 13.79 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002092/1.194, allocations: 1.395 MB / 1.364 GB, free: 12.39 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001766/1.196, allocations: 1.328 MB / 1.365 GB, free: 11.06 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 9.602e-05/1.196, allocations: 13.31 kB / 1.365 GB, free: 11.05 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.801e-05/1.196, allocations: 51.81 kB / 1.365 GB, free: 10.99 MB / 1.092 GB Notification: Performance of pre-optimization done (n=130): time 3.366e-06/1.196, allocations: 0 / 1.365 GB, free: 10.99 MB / 1.092 GB Notification: Performance of matching and sorting (n=199): time 0.09272/1.289, allocations: 23.1 MB / 1.388 GB, free: 3.77 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/1.289, allocations: 69.41 kB / 1.388 GB, free: 3.688 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003826/1.293, allocations: 2.062 MB / 1.39 GB, free: 1.609 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0003363/1.293, allocations: 57.7 kB / 1.39 GB, free: 1.547 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001503/1.295, allocations: 2.018 MB / 1.392 GB, free: 15.5 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007912/1.296, allocations: 0.6738 MB / 1.392 GB, free: 14.82 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008751/1.297, allocations: 408.2 kB / 1.393 GB, free: 14.41 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001132/1.297, allocations: 305.1 kB / 1.393 GB, free: 14.11 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002201/1.299, allocations: 1.43 MB / 1.395 GB, free: 12.68 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002688/1.302, allocations: 2.017 MB / 1.397 GB, free: 10.41 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005044/1.307, allocations: 3.7 MB / 1.4 GB, free: 6.477 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.4e-05/1.307, allocations: 4 kB / 1.4 GB, free: 6.473 MB / 1.123 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01156/1.318, allocations: 5.657 MB / 1.406 GB, free: 0.7461 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.908e-05/1.318, allocations: 18.34 kB / 1.406 GB, free: 0.7305 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.776e-05/1.318, allocations: 16 kB / 1.406 GB, free: 0.7148 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006964/1.325, allocations: 2.084 MB / 1.408 GB, free: 14.57 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001658/1.327, allocations: 379.4 kB / 1.408 GB, free: 14.2 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04335/1.37, allocations: 38.43 MB / 1.446 GB, free: 5.242 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002696/1.373, allocations: 123.9 kB / 1.446 GB, free: 5.121 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004312/1.374, allocations: 95.98 kB / 1.446 GB, free: 5.027 MB / 1.17 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002838/1.376, allocations: 1.509 MB / 1.447 GB, free: 3.508 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006939/1.377, allocations: 276.7 kB / 1.448 GB, free: 3.234 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01117/1.388, allocations: 5.215 MB / 1.453 GB, free: 13.94 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.402e-05/1.388, allocations: 15.89 kB / 1.453 GB, free: 13.93 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/1.388, allocations: 0 / 1.453 GB, free: 13.93 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001795/1.39, allocations: 0.6381 MB / 1.453 GB, free: 13.27 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007185/1.391, allocations: 35.94 kB / 1.453 GB, free: 13.23 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001762/1.393, allocations: 103.9 kB / 1.453 GB, free: 13.13 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005149/1.393, allocations: 217.6 kB / 1.454 GB, free: 12.91 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.013/1.406, allocations: 5.427 MB / 1.459 GB, free: 7.422 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008034/1.414, allocations: 5.047 MB / 1.464 GB, free: 2.348 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002093/1.416, allocations: 1.554 MB / 1.465 GB, free: 0.7969 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.002679/1.419, allocations: 1.378 MB / 1.467 GB, free: 15.41 MB / 1.201 GB Notification: Performance of Backend: time 2.595e-06/1.419, allocations: 0 / 1.467 GB, free: 15.41 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01209/1.431, allocations: 5.685 MB / 1.472 GB, free: 9.484 MB / 1.201 GB Notification: Performance of SimCode: time 0.01863/1.45, allocations: 9.103 MB / 1.481 GB, free: 408 kB / 1.201 GB Notification: Performance of Templates: time 0.1052/1.555, allocations: 62.87 MB / 1.543 GB, free: 2.352 MB / 1.264 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches