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.002118/0.002118, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002272/0.002272, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.46/1.46, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.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.686/2.686, allocations: 437 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 67.89 kB / 0.8692 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7248/0.7268, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.0142/0.7411, allocations: 10.01 MB / 1.027 GB, free: 8.453 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00541/0.7465, allocations: 3.048 MB / 1.03 GB, free: 5.395 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000772/0.7473, allocations: 35.81 kB / 1.03 GB, free: 5.359 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00197/0.7493, allocations: 0.6803 MB / 1.031 GB, free: 4.676 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001681/0.751, allocations: 0.6883 MB / 1.031 GB, free: 3.984 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001436/0.7524, allocations: 0.6354 MB / 1.032 GB, free: 3.352 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003207/0.7557, allocations: 2.742 MB / 1.035 GB, free: 0.6016 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00293/0.7586, allocations: 2.552 MB / 1.037 GB, free: 14 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001869/0.7605, allocations: 1.118 MB / 1.038 GB, free: 12.88 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001758/0.7623, allocations: 1.383 MB / 1.04 GB, free: 11.5 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002855/0.7626, allocations: 220 kB / 1.04 GB, free: 11.28 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009329/0.7635, allocations: 499.3 kB / 1.04 GB, free: 10.79 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0008915/0.7644, allocations: 0.9824 MB / 1.041 GB, free: 9.809 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001062/0.7655, allocations: 1.019 MB / 1.042 GB, free: 8.785 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002932/0.7684, allocations: 3.381 MB / 1.046 GB, free: 5.395 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.7684, allocations: 0 / 1.046 GB, free: 5.395 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7684, allocations: 0 / 1.046 GB, free: 5.395 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.53e-05/0.7685, allocations: 0 / 1.046 GB, free: 5.395 MB / 0.795 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.003325/0.7718, allocations: 1.944 MB / 1.047 GB, free: 3.395 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.7719, allocations: 12.03 kB / 1.047 GB, free: 3.383 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005666/0.7775, allocations: 0.8922 MB / 1.048 GB, free: 2.488 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002221/0.7798, allocations: 1.11 MB / 1.049 GB, free: 1.336 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/0.7799, allocations: 111.3 kB / 1.05 GB, free: 1.227 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004873/0.7804, allocations: 140.3 kB / 1.05 GB, free: 1.09 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007927/0.7884, allocations: 3.021 MB / 1.053 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.074e-05/0.7885, allocations: 4 kB / 1.053 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003065/0.7888, allocations: 67.97 kB / 1.053 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003538/0.7891, allocations: 178.9 kB / 1.053 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006487/0.7956, allocations: 2.608 MB / 1.055 GB, free: 11.11 MB / 0.8106 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.02455/0.8202, allocations: 13.56 MB / 1.069 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003118/0.8234, allocations: 1.287 MB / 1.07 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002269/0.8257, allocations: 1.059 MB / 1.071 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.939e-05/0.8258, allocations: 8.656 kB / 1.071 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.203e-05/0.8258, allocations: 47.16 kB / 1.071 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=82): time 4.589e-06/0.8259, allocations: 0 / 1.071 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=139): time 0.07821/0.9041, allocations: 19.38 MB / 1.09 GB, free: 6.5 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.98e-05/0.9042, allocations: 72.72 kB / 1.09 GB, free: 6.418 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001559/0.9058, allocations: 0.9183 MB / 1.091 GB, free: 5.492 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002119/0.906, allocations: 49.7 kB / 1.091 GB, free: 5.438 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005481/0.9066, allocations: 0.7283 MB / 1.092 GB, free: 4.695 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006216/0.9072, allocations: 481 kB / 1.092 GB, free: 4.219 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007174/0.9079, allocations: 303.3 kB / 1.092 GB, free: 3.914 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.9081, allocations: 353.9 kB / 1.093 GB, free: 3.562 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001949/0.9101, allocations: 1.331 MB / 1.094 GB, free: 2.23 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002274/0.9123, allocations: 1.666 MB / 1.096 GB, free: 456 kB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004964/0.9173, allocations: 3.088 MB / 1.099 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.356e-05/0.9173, allocations: 0 / 1.099 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01811/0.9355, allocations: 5.638 MB / 1.104 GB, free: 7.574 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.841e-05/0.9355, allocations: 12.64 kB / 1.104 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.643e-05/0.9356, allocations: 11.94 kB / 1.104 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01325/0.9489, allocations: 2.742 MB / 1.107 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/0.9502, allocations: 191.6 kB / 1.107 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05804/1.008, allocations: 25.73 MB / 1.132 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002422/1.011, allocations: 95.94 kB / 1.132 GB, free: 10.22 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004219/1.011, allocations: 56 kB / 1.132 GB, free: 10.16 MB / 0.8887 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.002149/1.013, allocations: 0.7365 MB / 1.133 GB, free: 9.418 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006162/1.014, allocations: 118.6 kB / 1.133 GB, free: 9.301 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01814/1.032, allocations: 5.4 MB / 1.138 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.466e-05/1.032, allocations: 12 kB / 1.138 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.038e-05/1.032, allocations: 20 kB / 1.138 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.169e-05/1.032, allocations: 3.984 kB / 1.138 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02666/1.059, allocations: 8.645 MB / 1.147 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.953e-05/1.059, allocations: 4.031 kB / 1.147 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008784/1.06, allocations: 123.8 kB / 1.147 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01395/1.074, allocations: 2.557 MB / 1.15 GB, free: 8.379 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003702/1.074, allocations: 32 kB / 1.15 GB, free: 8.348 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04106/1.116, allocations: 23 MB / 1.172 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.316e-06/1.116, allocations: 8 kB / 1.172 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01192/1.127, allocations: 5.13 MB / 1.177 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/1.129, allocations: 471.6 kB / 1.178 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004978/1.129, allocations: 32 kB / 1.178 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001313/1.131, allocations: 79.83 kB / 1.178 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006381/1.131, allocations: 121 kB / 1.178 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001307/1.132, allocations: 40 kB / 1.178 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009646/1.132, allocations: 0.6434 MB / 1.178 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.61e-07/1.132, allocations: 0 / 1.178 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002774/1.135, allocations: 0.7227 MB / 1.179 GB, free: 9.438 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * 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,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003144/1.136, allocations: 136.4 kB / 1.179 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.008798/1.144, allocations: 4.735 MB / 1.184 GB, free: 4.504 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/1.144, allocations: 3.938 kB / 1.184 GB, free: 4.5 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.005804/1.15, allocations: 2.654 MB / 1.186 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001881/1.152, allocations: 222 kB / 1.187 GB, free: 1.59 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006976/1.159, allocations: 3.938 MB / 1.191 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001731/1.161, allocations: 1.7 MB / 1.192 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0007953/1.162, allocations: 325.4 kB / 1.192 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/1.162, allocations: 55.44 kB / 1.193 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of SimCode: time 5.81e-07/1.162, allocations: 0 / 1.193 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of Templates: time 0.06393/1.226, allocations: 38.98 MB / 1.231 GB, free: 4.66 MB / 0.9825 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/jenkins/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