Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 116.5 kB / 16.42 MB, free: 6.488 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.001246/0.001246, allocations: 186.5 kB / 17.34 MB, free: 5.75 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.355/1.355, allocations: 222.9 MB / 241.1 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.309/2.309, allocations: 390.2 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 67.89 kB / 0.9516 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8984/0.8999, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.0139/0.9139, allocations: 10.01 MB / 1.098 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.006918/0.9209, allocations: 3.047 MB / 1.101 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001298/0.9222, allocations: 37.53 kB / 1.101 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002172/0.9244, allocations: 0.6719 MB / 1.102 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002139/0.9265, allocations: 0.7259 MB / 1.103 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001918/0.9285, allocations: 0.6417 MB / 1.103 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004208/0.9327, allocations: 2.74 MB / 1.106 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003227/0.9359, allocations: 2.539 MB / 1.109 GB, free: 9.27 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002336/0.9383, allocations: 1.139 MB / 1.11 GB, free: 8.773 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002209/0.9405, allocations: 1.379 MB / 1.111 GB, free: 8.215 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004103/0.9409, allocations: 216 kB / 1.111 GB, free: 8.215 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001278/0.9422, allocations: 489.5 kB / 1.112 GB, free: 8.117 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001212/0.9434, allocations: 0.9827 MB / 1.113 GB, free: 7.75 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001171/0.9446, allocations: 1.022 MB / 1.114 GB, free: 7.105 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004473/0.9491, allocations: 3.404 MB / 1.117 GB, free: 6.055 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/0.9491, allocations: 2 kB / 1.117 GB, free: 6.055 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.814e-06/0.9491, allocations: 0 / 1.117 GB, free: 6.055 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.604e-05/0.9492, allocations: 0 / 1.117 GB, free: 6.055 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.006539/0.9558, allocations: 1.944 MB / 1.119 GB, free: 4.855 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.969e-05/0.9558, allocations: 9.344 kB / 1.119 GB, free: 4.855 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008345/0.9642, allocations: 0.8929 MB / 1.12 GB, free: 4.715 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003/0.9672, allocations: 1.161 MB / 1.121 GB, free: 4.074 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.9674, allocations: 109.4 kB / 1.121 GB, free: 4.023 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003932/0.9678, allocations: 146.8 kB / 1.121 GB, free: 3.973 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005758/0.9735, allocations: 3.017 MB / 1.124 GB, free: 2.793 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.559e-05/0.9736, allocations: 6.844 kB / 1.124 GB, free: 2.789 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002257/0.9738, allocations: 65.97 kB / 1.124 GB, free: 2.738 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003039/0.9741, allocations: 176.9 kB / 1.124 GB, free: 2.715 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00594/0.9801, allocations: 2.604 MB / 1.127 GB, free: 1.875 MB / 0.8731 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02499/1.005, allocations: 13.48 MB / 1.14 GB, free: 8.047 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002523/1.008, allocations: 1.305 MB / 1.141 GB, free: 7.594 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001793/1.009, allocations: 1.052 MB / 1.142 GB, free: 7.246 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.604e-05/1.01, allocations: 8.188 kB / 1.142 GB, free: 7.246 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/1.01, allocations: 39 kB / 1.142 GB, free: 7.203 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=82): time 5.009e-06/1.01, allocations: 0 / 1.142 GB, free: 7.203 MB / 0.8887 GB Notification: Performance of matching and sorting (n=139): time 0.0813/1.091, allocations: 19.4 MB / 1.161 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/1.091, allocations: 70.12 kB / 1.161 GB, free: 15 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001932/1.093, allocations: 0.9141 MB / 1.162 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0002366/1.093, allocations: 50.02 kB / 1.162 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006592/1.094, allocations: 0.7269 MB / 1.163 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006212/1.095, allocations: 484.8 kB / 1.164 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008597/1.095, allocations: 297.4 kB / 1.164 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002081/1.096, allocations: 358 kB / 1.164 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002309/1.098, allocations: 1.338 MB / 1.165 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002507/1.1, allocations: 1.657 MB / 1.167 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004689/1.105, allocations: 3.089 MB / 1.17 GB, free: 9.098 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.38e-05/1.105, allocations: 0 / 1.17 GB, free: 9.098 MB / 0.9044 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01247/1.118, allocations: 5.639 MB / 1.176 GB, free: 3.434 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.292e-05/1.118, allocations: 8 kB / 1.176 GB, free: 3.426 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.159e-05/1.118, allocations: 8 kB / 1.176 GB, free: 3.418 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009161/1.127, allocations: 2.723 MB / 1.178 GB, free: 0.6836 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000945/1.128, allocations: 187.7 kB / 1.178 GB, free: 0.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03973/1.168, allocations: 25.71 MB / 1.204 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001947/1.17, allocations: 92.45 kB / 1.204 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004197/1.17, allocations: 56 kB / 1.204 GB, free: 6.07 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001912/1.172, allocations: 0.7393 MB / 1.204 GB, free: 5.32 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004857/1.172, allocations: 118.6 kB / 1.205 GB, free: 5.203 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01213/1.185, allocations: 5.392 MB / 1.21 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.176e-05/1.185, allocations: 3.984 kB / 1.21 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/1.185, allocations: 7.984 kB / 1.21 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001214/1.186, allocations: 487.5 kB / 1.21 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004439/1.186, allocations: 20 kB / 1.21 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/1.188, allocations: 71.91 kB / 1.21 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004767/1.188, allocations: 208.8 kB / 1.211 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01175/1.2, allocations: 5.262 MB / 1.216 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006132/1.206, allocations: 4.487 MB / 1.22 GB, free: 5.191 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00183/1.208, allocations: 1.435 MB / 1.221 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001111/1.209, allocations: 0.6434 MB / 1.222 GB, free: 3.109 MB / 0.9512 GB Notification: Performance of Backend: time 2.91e-07/1.209, allocations: 0 / 1.222 GB, free: 3.109 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.007499/1.216, allocations: 3.241 MB / 1.225 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of SimCode: time 0.008093/1.225, allocations: 4.366 MB / 1.23 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of Templates: time 0.05924/1.284, allocations: 37.88 MB / 1.267 GB, free: 5.695 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches