Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001691/0.001691, allocations: 112.8 kB / 16.42 MB, free: 6.457 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.002087/0.002087, allocations: 190.7 kB / 17.35 MB, free: 5.719 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: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.663/2.663, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001659, allocations: 64.12 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9363/0.938, allocations: 151.6 MB / 1.167 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01213/0.9502, allocations: 10.02 MB / 1.177 GB, free: 9.734 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00519/0.9554, allocations: 3.033 MB / 1.18 GB, free: 6.691 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007172/0.9561, allocations: 39.81 kB / 1.18 GB, free: 6.652 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001973/0.9581, allocations: 0.6894 MB / 1.181 GB, free: 5.961 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001753/0.9599, allocations: 0.7157 MB / 1.181 GB, free: 5.242 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001555/0.9615, allocations: 0.652 MB / 1.182 GB, free: 4.59 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003344/0.9648, allocations: 2.738 MB / 1.185 GB, free: 1.844 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003144/0.968, allocations: 2.53 MB / 1.187 GB, free: 15.27 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001957/0.9699, allocations: 1.141 MB / 1.188 GB, free: 14.12 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002644/0.9726, allocations: 1.379 MB / 1.19 GB, free: 12.74 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000747/0.9734, allocations: 216 kB / 1.19 GB, free: 12.53 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001372/0.9748, allocations: 0.4915 MB / 1.19 GB, free: 12.04 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001505/0.9763, allocations: 0.9707 MB / 1.191 GB, free: 11.07 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002121/0.9784, allocations: 1.015 MB / 1.192 GB, free: 10.05 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004765/0.9832, allocations: 3.414 MB / 1.196 GB, free: 6.625 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.9832, allocations: 0 / 1.196 GB, free: 6.625 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9832, allocations: 0 / 1.196 GB, free: 6.625 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001623/0.9834, allocations: 0 / 1.196 GB, free: 6.625 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.00614/0.9895, allocations: 1.94 MB / 1.198 GB, free: 4.629 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.356e-05/0.9896, allocations: 8.922 kB / 1.198 GB, free: 4.621 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005924/0.9955, allocations: 0.8883 MB / 1.198 GB, free: 3.73 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002575/0.9981, allocations: 1.161 MB / 1.2 GB, free: 2.527 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-05/0.9982, allocations: 111.3 kB / 1.2 GB, free: 2.418 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003418/0.9986, allocations: 144.3 kB / 1.2 GB, free: 2.277 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005189/1.004, allocations: 3.02 MB / 1.203 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.728e-05/1.004, allocations: 15.83 kB / 1.203 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002044/1.004, allocations: 63.97 kB / 1.203 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002242/1.004, allocations: 175 kB / 1.203 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004466/1.009, allocations: 2.604 MB / 1.206 GB, free: 12.3 MB / 0.9356 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.01691/1.026, allocations: 13.49 MB / 1.219 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001943/1.028, allocations: 1.296 MB / 1.22 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00137/1.029, allocations: 1.05 MB / 1.221 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.33e-05/1.029, allocations: 8.656 kB / 1.221 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/1.029, allocations: 47.22 kB / 1.221 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=82): time 3.627e-06/1.029, allocations: 0 / 1.221 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of matching and sorting (n=139): time 0.07406/1.103, allocations: 19.38 MB / 1.24 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/1.103, allocations: 64.72 kB / 1.24 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/1.105, allocations: 0.9222 MB / 1.241 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001373/1.105, allocations: 45.7 kB / 1.241 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004868/1.105, allocations: 0.736 MB / 1.242 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004372/1.106, allocations: 485 kB / 1.242 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005939/1.106, allocations: 295.4 kB / 1.242 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001383/1.106, allocations: 357.9 kB / 1.243 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001924/1.108, allocations: 1.335 MB / 1.244 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002169/1.111, allocations: 1.655 MB / 1.246 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004123/1.115, allocations: 3.093 MB / 1.249 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/1.115, allocations: 4 kB / 1.249 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01219/1.127, allocations: 5.636 MB / 1.254 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.342e-05/1.127, allocations: 12 kB / 1.254 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.522e-05/1.127, allocations: 11.98 kB / 1.254 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009024/1.136, allocations: 2.724 MB / 1.257 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008276/1.137, allocations: 191.7 kB / 1.257 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03718/1.174, allocations: 25.71 MB / 1.282 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/1.176, allocations: 95.94 kB / 1.282 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002573/1.176, allocations: 59.94 kB / 1.282 GB, free: 11.46 MB / 1.014 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.001269/1.177, allocations: 0.7354 MB / 1.283 GB, free: 10.72 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002998/1.178, allocations: 114.6 kB / 1.283 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0122/1.19, allocations: 5.4 MB / 1.288 GB, free: 5.172 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.418e-05/1.19, allocations: 3.984 kB / 1.288 GB, free: 5.168 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/1.19, allocations: 3.938 kB / 1.288 GB, free: 5.164 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001363/1.191, allocations: 487.6 kB / 1.289 GB, free: 4.668 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004212/1.192, allocations: 24 kB / 1.289 GB, free: 4.645 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/1.193, allocations: 71.91 kB / 1.289 GB, free: 4.574 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004867/1.193, allocations: 200.9 kB / 1.289 GB, free: 4.379 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01205/1.205, allocations: 5.254 MB / 1.294 GB, free: 15.1 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00651/1.212, allocations: 4.487 MB / 1.299 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001809/1.214, allocations: 1.439 MB / 1.3 GB, free: 9.156 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0009963/1.215, allocations: 0.6473 MB / 1.301 GB, free: 8.512 MB / 1.029 GB Notification: Performance of Backend: time 5.71e-07/1.215, allocations: 0 / 1.301 GB, free: 8.512 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.007218/1.222, allocations: 3.249 MB / 1.304 GB, free: 5.207 MB / 1.029 GB Notification: Performance of SimCode: time 0.006826/1.229, allocations: 4.356 MB / 1.308 GB, free: 0.8086 MB / 1.029 GB Notification: Performance of Templates: time 0.05863/1.287, allocations: 37.87 MB / 1.345 GB, free: 11.1 MB / 1.076 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches