Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 92.16 kB / 16.02 MB, free: 80 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.001447/0.001447, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.402/1.402, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.627/2.627, allocations: 437.8 MB / 0.7128 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003332/0.0003333, allocations: 11.98 kB / 0.8735 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6663/0.6667, allocations: 153.8 MB / 1.024 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03407/0.7008, allocations: 31.54 MB / 1.054 GB, free: 280 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01647/0.7173, allocations: 10.18 MB / 1.064 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003162/0.7205, allocations: 127.3 kB / 1.065 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002517/0.723, allocations: 0.6317 MB / 1.065 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.005655/0.7287, allocations: 1.743 MB / 1.067 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.005281/0.734, allocations: 1.748 MB / 1.069 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01149/0.7455, allocations: 10.57 MB / 1.079 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02005/0.7656, allocations: 12.07 MB / 1.091 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004834/0.7705, allocations: 2.237 MB / 1.093 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005082/0.7756, allocations: 2.97 MB / 1.096 GB, free: 5.805 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001239/0.7769, allocations: 268 kB / 1.096 GB, free: 5.543 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004165/0.781, allocations: 1.7 MB / 1.098 GB, free: 3.84 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.003318/0.7844, allocations: 2.046 MB / 1.1 GB, free: 1.789 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.004641/0.789, allocations: 2.349 MB / 1.102 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.009629/0.7987, allocations: 8.394 MB / 1.11 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.7987, allocations: 0 / 1.11 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.238e-06/0.7987, allocations: 0 / 1.11 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.000315/0.7991, allocations: 3.938 kB / 1.11 GB, free: 7.004 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01008/0.8092, allocations: 4.015 MB / 1.114 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.8092, allocations: 12.03 kB / 1.114 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006377/0.8156, allocations: 0.9552 MB / 1.115 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005967/0.8216, allocations: 2.859 MB / 1.118 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003392/0.822, allocations: 349.6 kB / 1.118 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001605/0.8236, allocations: 464.1 kB / 1.119 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01769/0.8413, allocations: 7.671 MB / 1.126 GB, free: 6.211 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002249/0.8416, allocations: 27.72 kB / 1.126 GB, free: 6.184 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001159/0.8427, allocations: 196 kB / 1.126 GB, free: 5.992 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004064/0.8432, allocations: 313 kB / 1.127 GB, free: 5.684 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01225/0.8554, allocations: 5.706 MB / 1.132 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04241/0.8979, allocations: 35.15 MB / 1.167 GB, free: 9.609 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003162/0.9011, allocations: 2.157 MB / 1.169 GB, free: 7.336 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001839/0.9029, allocations: 1.272 MB / 1.17 GB, free: 6.066 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.849e-05/0.903, allocations: 13.31 kB / 1.17 GB, free: 6.051 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.9031, allocations: 43.88 kB / 1.17 GB, free: 6 MB / 0.92 GB Notification: Performance of pre-optimization done (n=133): time 3.256e-06/0.9031, allocations: 0 / 1.17 GB, free: 6 MB / 0.92 GB Notification: Performance of matching and sorting (n=136): time 0.01483/0.9179, allocations: 7.12 MB / 1.177 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.918, allocations: 68.66 kB / 1.177 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002171/0.9202, allocations: 1.484 MB / 1.178 GB, free: 13 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001434/0.9204, allocations: 49.7 kB / 1.178 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001269/0.9216, allocations: 2.012 MB / 1.18 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004758/0.9221, allocations: 493 kB / 1.181 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000228/0.9224, allocations: 145.6 kB / 1.181 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.9225, allocations: 301.1 kB / 1.181 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001367/0.9238, allocations: 0.9135 MB / 1.182 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001841/0.9257, allocations: 1.589 MB / 1.184 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003345/0.929, allocations: 2.737 MB / 1.186 GB, free: 4.102 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.598e-05/0.9291, allocations: 8 kB / 1.186 GB, free: 4.094 MB / 0.9356 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006367/0.9355, allocations: 3.526 MB / 1.19 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.707e-05/0.9355, allocations: 16 kB / 1.19 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.824e-05/0.9356, allocations: 20 kB / 1.19 GB, free: 496 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002743/0.9383, allocations: 0.9122 MB / 1.191 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/0.9397, allocations: 347.4 kB / 1.191 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02117/0.9609, allocations: 21.24 MB / 1.212 GB, free: 8.355 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001862/0.9628, allocations: 108 kB / 1.212 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003065/0.9631, allocations: 83.94 kB / 1.212 GB, free: 8.168 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.003266/0.9664, allocations: 1.611 MB / 1.214 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000521/0.9669, allocations: 205.5 kB / 1.214 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005736/0.9726, allocations: 2.99 MB / 1.217 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/0.9727, allocations: 12 kB / 1.217 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.96e-05/0.9727, allocations: 15.98 kB / 1.217 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.699e-05/0.9728, allocations: 7.922 kB / 1.217 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01344/0.9862, allocations: 7.332 MB / 1.224 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.556e-05/0.9863, allocations: 4 kB / 1.224 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008654/0.9871, allocations: 175.7 kB / 1.224 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002503/0.9897, allocations: 0.8262 MB / 1.225 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001748/0.9899, allocations: 35.92 kB / 1.225 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01865/1.009, allocations: 20.32 MB / 1.245 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/1.009, allocations: 7.938 kB / 1.245 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005623/1.014, allocations: 3.027 MB / 1.248 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/1.015, allocations: 466.5 kB / 1.248 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004588/1.016, allocations: 24 kB / 1.248 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/1.017, allocations: 71.97 kB / 1.248 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003677/1.017, allocations: 132.8 kB / 1.248 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-05/1.017, allocations: 36 kB / 1.248 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.5556/1.573, allocations: 0.9714 MB / 1.249 GB, free: 205 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.32e-07/1.573, allocations: 0.7812 kB / 1.249 GB, free: 205 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003769/1.577, allocations: 0.7899 MB / 1.25 GB, free: 205 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004068/1.577, allocations: 141.2 kB / 1.25 GB, free: 205 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006666/1.584, allocations: 4.026 MB / 1.254 GB, free: 203.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/1.584, allocations: 0.8438 kB / 1.254 GB, free: 203.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003994/1.588, allocations: 2.74 MB / 1.257 GB, free: 202.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005126/1.593, allocations: 0.6707 MB / 1.258 GB, free: 202.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01765/1.611, allocations: 9.799 MB / 1.267 GB, free: 197 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005146/1.616, allocations: 3.177 MB / 1.27 GB, free: 195.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005642/1.617, allocations: 125.3 kB / 1.27 GB, free: 195.8 MB / 0.9981 GB Notification: Performance of SimCode: time 8.62e-07/1.617, allocations: 0 / 1.27 GB, free: 195.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.2743/1.891, allocations: 321 MB / 1.584 GB, free: 3.707 MB / 1.107 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches