Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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.ACLine_N,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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, 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.001534/0.001534, allocations: 197.6 kB / 16.54 MB, free: 6.672 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.472/1.472, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.635/2.635, allocations: 437 MB / 0.7104 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 71.88 kB / 0.8692 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8317/0.8331, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03734/0.8704, allocations: 33.33 MB / 1.05 GB, free: 1.023 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02428/0.8948, allocations: 14.82 MB / 1.064 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004627/0.8994, allocations: 159.2 kB / 1.064 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.009855/0.9093, allocations: 3.655 MB / 1.068 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.01148/0.9208, allocations: 2.891 MB / 1.071 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.007925/0.9288, allocations: 2.312 MB / 1.073 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01315/0.942, allocations: 8.809 MB / 1.082 GB, free: 300 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01439/0.9564, allocations: 9.648 MB / 1.091 GB, free: 6.523 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008376/0.9649, allocations: 3.946 MB / 1.095 GB, free: 2.566 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008417/0.9733, allocations: 4.03 MB / 1.099 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.003481/0.9768, allocations: 0.7187 MB / 1.1 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007066/0.9839, allocations: 1.724 MB / 1.101 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.005606/0.9896, allocations: 2.822 MB / 1.104 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.008766/0.9984, allocations: 3.388 MB / 1.107 GB, free: 5.848 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01653/1.015, allocations: 11.12 MB / 1.118 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/1.015, allocations: 4 kB / 1.118 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.284e-06/1.015, allocations: 0 / 1.118 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0003891/1.015, allocations: 0 / 1.118 GB, free: 10.7 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.02027/1.036, allocations: 5.975 MB / 1.124 GB, free: 4.641 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.648e-05/1.036, allocations: 15.98 kB / 1.124 GB, free: 4.625 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009116/1.045, allocations: 1.138 MB / 1.125 GB, free: 3.48 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00915/1.054, allocations: 3.332 MB / 1.128 GB, free: 72 kB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005787/1.055, allocations: 370.5 kB / 1.129 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002052/1.057, allocations: 499.9 kB / 1.129 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02221/1.079, allocations: 8.005 MB / 1.137 GB, free: 6.934 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00029/1.079, allocations: 19.83 kB / 1.137 GB, free: 6.914 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001793/1.081, allocations: 216 kB / 1.137 GB, free: 6.703 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001212/1.082, allocations: 437.6 kB / 1.138 GB, free: 6.273 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01531/1.098, allocations: 6.085 MB / 1.144 GB, free: 180 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05981/1.158, allocations: 35.16 MB / 1.178 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003369/1.161, allocations: 2.022 MB / 1.18 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002932/1.164, allocations: 1.861 MB / 1.182 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001528/1.164, allocations: 18 kB / 1.182 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.761e-05/1.164, allocations: 68.44 kB / 1.182 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=171): time 4.708e-06/1.164, allocations: 0 / 1.182 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of matching and sorting (n=276): time 0.1654/1.33, allocations: 38.86 MB / 1.22 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/1.33, allocations: 77.58 kB / 1.22 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003544/1.333, allocations: 2.286 MB / 1.222 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0005097/1.334, allocations: 73.7 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001627/1.335, allocations: 2.272 MB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.001047/1.336, allocations: 0.9358 MB / 1.225 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009575/1.337, allocations: 0.51 MB / 1.226 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001187/1.337, allocations: 305.1 kB / 1.226 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002826/1.34, allocations: 1.977 MB / 1.228 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003263/1.344, allocations: 2.602 MB / 1.231 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006444/1.35, allocations: 4.925 MB / 1.235 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/1.35, allocations: 4 kB / 1.235 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01482/1.365, allocations: 7.758 MB / 1.243 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/1.365, allocations: 15.94 kB / 1.243 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.678e-05/1.365, allocations: 19.94 kB / 1.243 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009328/1.374, allocations: 3.237 MB / 1.246 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001767/1.376, allocations: 407.3 kB / 1.247 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5745/1.951, allocations: 33.89 MB / 1.28 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003091/1.954, allocations: 160.3 kB / 1.28 GB, free: 193 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002738/1.954, allocations: 110.4 kB / 1.28 GB, free: 193 MB / 0.9981 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002843/1.957, allocations: 1.795 MB / 1.282 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006327/1.958, allocations: 331.2 kB / 1.282 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01205/1.97, allocations: 7.367 MB / 1.289 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-05/1.97, allocations: 27.44 kB / 1.289 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.888e-05/1.97, allocations: 27.41 kB / 1.289 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.528e-05/1.97, allocations: 15.09 kB / 1.289 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02088/1.991, allocations: 12.92 MB / 1.302 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.504e-05/1.991, allocations: 11.78 kB / 1.302 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008367/1.991, allocations: 234.6 kB / 1.302 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00713/1.999, allocations: 2.884 MB / 1.305 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001997/1.999, allocations: 58.55 kB / 1.305 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03316/2.032, allocations: 32.68 MB / 1.337 GB, free: 148.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/2.032, allocations: 15.94 kB / 1.337 GB, free: 148.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01036/2.042, allocations: 6.89 MB / 1.344 GB, free: 141.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001824/2.044, allocations: 0.7783 MB / 1.344 GB, free: 140.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005386/2.045, allocations: 50.95 kB / 1.344 GB, free: 140.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00171/2.047, allocations: 171.8 kB / 1.345 GB, free: 140.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009093/2.047, allocations: 253.5 kB / 1.345 GB, free: 140.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001627/2.048, allocations: 76 kB / 1.345 GB, free: 140.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001976/2.05, allocations: 1.525 MB / 1.346 GB, free: 138.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.142e-06/2.05, allocations: 0 / 1.346 GB, free: 138.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005528/2.055, allocations: 1.375 MB / 1.348 GB, free: 137.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003416/2.056, allocations: 175.9 kB / 1.348 GB, free: 137.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01254/2.068, allocations: 8.379 MB / 1.356 GB, free: 128.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.279e-05/2.068, allocations: 4 kB / 1.356 GB, free: 128.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006446/2.075, allocations: 4.407 MB / 1.36 GB, free: 124.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004643/2.079, allocations: 1.115 MB / 1.362 GB, free: 123.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01637/2.096, allocations: 10.21 MB / 1.371 GB, free: 113 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003278/2.099, allocations: 3.638 MB / 1.375 GB, free: 109.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002094/2.101, allocations: 0.5634 MB / 1.376 GB, free: 108.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003424/2.101, allocations: 155.4 kB / 1.376 GB, free: 108.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.162e-06/2.101, allocations: 0 / 1.376 GB, free: 108.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.1071/2.209, allocations: 77.55 MB / 1.451 GB, free: 32.18 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches