Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.ACLine,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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001855/0.001855, allocations: 104.6 kB / 16.35 MB, free: 5.824 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.001897/0.001898, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.416/1.416, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.496/2.496, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 64.73 kB / 0.814 GB, free: 32.56 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3154, allocations: 140.4 MB / 0.9511 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03473/0.3501, allocations: 30.75 MB / 0.9812 GB, free: 9.148 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02408/0.3743, allocations: 13.59 MB / 0.9944 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003973/0.3783, allocations: 143.2 kB / 0.9946 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.009213/0.3876, allocations: 3.204 MB / 0.9977 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.009026/0.3967, allocations: 2.66 MB / 1 GB, free: 5.492 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.006187/0.4029, allocations: 2.011 MB / 1.002 GB, free: 3.48 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01101/0.4139, allocations: 7.629 MB / 1.01 GB, free: 11.83 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01161/0.4256, allocations: 8.233 MB / 1.018 GB, free: 3.473 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007655/0.4333, allocations: 3.404 MB / 1.021 GB, free: 60 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007037/0.4404, allocations: 3.379 MB / 1.024 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.001655/0.4421, allocations: 0.5976 MB / 1.025 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003765/0.4458, allocations: 1.494 MB / 1.026 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.002781/0.4486, allocations: 2.37 MB / 1.029 GB, free: 8.199 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.006213/0.4549, allocations: 2.886 MB / 1.032 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01162/0.4665, allocations: 9.457 MB / 1.041 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.4666, allocations: 0 / 1.041 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.863e-06/0.4666, allocations: 0 / 1.041 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0002929/0.4669, allocations: 0 / 1.041 GB, free: 11.82 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01178/0.4787, allocations: 5.144 MB / 1.046 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.4787, allocations: 12.03 kB / 1.046 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006058/0.4848, allocations: 0.9941 MB / 1.047 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007239/0.4921, allocations: 3.071 MB / 1.05 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002639/0.4923, allocations: 316.8 kB / 1.05 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001343/0.4937, allocations: 424 kB / 1.051 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01453/0.5082, allocations: 6.788 MB / 1.057 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001362/0.5084, allocations: 27.77 kB / 1.057 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005624/0.509, allocations: 180 kB / 1.057 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008134/0.5098, allocations: 372 kB / 1.058 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01032/0.5201, allocations: 5.118 MB / 1.063 GB, free: 4.914 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5647/1.085, allocations: 30.51 MB / 1.092 GB, free: 108.5 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002239/1.087, allocations: 1.379 MB / 1.094 GB, free: 108.5 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00199/1.089, allocations: 1.328 MB / 1.095 GB, free: 108.2 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/1.089, allocations: 18.59 kB / 1.095 GB, free: 108.2 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.965e-05/1.089, allocations: 46.12 kB / 1.095 GB, free: 108.2 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=130): time 3.917e-06/1.089, allocations: 1.594 kB / 1.095 GB, free: 108.2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=199): time 0.08261/1.172, allocations: 23.07 MB / 1.118 GB, free: 103.6 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/1.172, allocations: 76.09 kB / 1.118 GB, free: 103.5 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003011/1.175, allocations: 2.061 MB / 1.12 GB, free: 102.8 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002423/1.175, allocations: 59.2 kB / 1.12 GB, free: 102.7 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001127/1.177, allocations: 2.008 MB / 1.122 GB, free: 101 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005498/1.177, allocations: 0.6807 MB / 1.122 GB, free: 100.4 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006896/1.178, allocations: 409.7 kB / 1.123 GB, free: 100.2 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.836e-05/1.178, allocations: 303.2 kB / 1.123 GB, free: 99.89 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001872/1.18, allocations: 1.437 MB / 1.125 GB, free: 99.12 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002075/1.182, allocations: 2.014 MB / 1.127 GB, free: 97.62 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004084/1.186, allocations: 3.696 MB / 1.13 GB, free: 95.19 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.414e-05/1.186, allocations: 5.188 kB / 1.13 GB, free: 95.19 MB / 0.8575 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.009585/1.195, allocations: 5.655 MB / 1.136 GB, free: 92 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.138e-05/1.196, allocations: 11.84 kB / 1.136 GB, free: 92 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.37e-05/1.196, allocations: 19.84 kB / 1.136 GB, free: 92 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005897/1.201, allocations: 2.092 MB / 1.138 GB, free: 90.86 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/1.203, allocations: 378.9 kB / 1.138 GB, free: 90.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02956/1.232, allocations: 38.44 MB / 1.176 GB, free: 55.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002715/1.235, allocations: 123.9 kB / 1.176 GB, free: 55.47 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003004/1.236, allocations: 88 kB / 1.176 GB, free: 55.39 MB / 0.8575 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (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.002317/1.238, allocations: 1.512 MB / 1.177 GB, free: 53.86 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005877/1.238, allocations: 284.7 kB / 1.178 GB, free: 53.58 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008481/1.247, allocations: 5.215 MB / 1.183 GB, free: 48.3 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/1.247, allocations: 20 kB / 1.183 GB, free: 48.28 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.945e-05/1.247, allocations: 16 kB / 1.183 GB, free: 48.26 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.357e-05/1.247, allocations: 21.12 kB / 1.183 GB, free: 48.24 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01541/1.262, allocations: 9.658 MB / 1.192 GB, free: 38.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.629e-05/1.263, allocations: 8 kB / 1.192 GB, free: 38.4 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008018/1.263, allocations: 219.6 kB / 1.192 GB, free: 38.19 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005022/1.268, allocations: 1.838 MB / 1.194 GB, free: 36.3 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002253/1.269, allocations: 44 kB / 1.194 GB, free: 36.26 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02786/1.296, allocations: 37.44 MB / 1.231 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/1.297, allocations: 7.984 kB / 1.231 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009385/1.306, allocations: 4.917 MB / 1.236 GB, free: 7.277 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002142/1.308, allocations: 0.6225 MB / 1.236 GB, free: 6.633 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004914/1.309, allocations: 40 kB / 1.236 GB, free: 6.594 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/1.31, allocations: 131.8 kB / 1.236 GB, free: 6.465 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006618/1.311, allocations: 193.6 kB / 1.237 GB, free: 6.277 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001382/1.311, allocations: 60 kB / 1.237 GB, free: 6.219 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001885/1.313, allocations: 1.371 MB / 1.238 GB, free: 4.84 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/1.313, allocations: 0 / 1.238 GB, free: 4.84 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.003763/1.316, allocations: 1.051 MB / 1.239 GB, free: 3.789 MB / 0.8731 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003246/1.317, allocations: 167.5 kB / 1.239 GB, free: 3.613 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01025/1.327, allocations: 6.295 MB / 1.245 GB, free: 13.1 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.375e-05/1.327, allocations: 4 kB / 1.245 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.006383/1.333, allocations: 4.395 MB / 1.25 GB, free: 8.484 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004028/1.338, allocations: 0.9842 MB / 1.251 GB, free: 7.547 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0141/1.352, allocations: 8.058 MB / 1.258 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003543/1.355, allocations: 3.123 MB / 1.261 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001947/1.357, allocations: 0.5276 MB / 1.262 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003593/1.358, allocations: 147.4 kB / 1.262 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of SimCode: time 1.263e-06/1.358, allocations: 0 / 1.262 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of Templates: time 0.09607/1.454, allocations: 57.73 MB / 1.318 GB, free: 2.828 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches