Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 108.1 kB / 16.41 MB, free: 6.496 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.001142/0.001141, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.16 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.41/2.41, allocations: 437.1 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 64.12 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8779/0.8794, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006735/0.8862, allocations: 4.895 MB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00497/0.8912, allocations: 2.494 MB / 1.175 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005726/0.8918, allocations: 23.81 kB / 1.175 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001324/0.8932, allocations: 397.9 kB / 1.175 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001298/0.8945, allocations: 469.6 kB / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009942/0.8955, allocations: 405.9 kB / 1.176 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001336/0.8968, allocations: 0.9212 MB / 1.177 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006684/0.8975, allocations: 354.5 kB / 1.177 GB, free: 9.914 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005995/0.8981, allocations: 346.6 kB / 1.177 GB, free: 9.574 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006017/0.8987, allocations: 354.4 kB / 1.178 GB, free: 9.227 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.8989, allocations: 36 kB / 1.178 GB, free: 9.191 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000741/0.8996, allocations: 407.1 kB / 1.178 GB, free: 8.793 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000225/0.8999, allocations: 183.4 kB / 1.178 GB, free: 8.613 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003829/0.9002, allocations: 318.3 kB / 1.179 GB, free: 8.301 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001414/0.9017, allocations: 0.903 MB / 1.179 GB, free: 7.398 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.9017, allocations: 0 / 1.179 GB, free: 7.398 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9017, allocations: 0 / 1.179 GB, free: 7.398 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.87e-05/0.9017, allocations: 0 / 1.179 GB, free: 7.398 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001712/0.9035, allocations: 0.9727 MB / 1.18 GB, free: 6.375 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.9035, allocations: 11.98 kB / 1.18 GB, free: 6.363 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/0.9048, allocations: 204.2 kB / 1.181 GB, free: 6.164 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007918/0.9056, allocations: 0.5573 MB / 1.181 GB, free: 5.566 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.451e-05/0.9057, allocations: 29.38 kB / 1.181 GB, free: 5.535 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-05/0.9058, allocations: 52.36 kB / 1.181 GB, free: 5.484 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.9068, allocations: 0.8485 MB / 1.182 GB, free: 4.508 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.9068, allocations: 7.938 kB / 1.182 GB, free: 4.5 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.072e-05/0.9069, allocations: 27.92 kB / 1.182 GB, free: 4.473 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.347e-05/0.907, allocations: 68.95 kB / 1.182 GB, free: 4.406 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007516/0.9077, allocations: 0.5616 MB / 1.183 GB, free: 3.844 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003968/0.9117, allocations: 5.651 MB / 1.188 GB, free: 13.8 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005813/0.9123, allocations: 462.1 kB / 1.189 GB, free: 13.34 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002869/0.9126, allocations: 228.7 kB / 1.189 GB, free: 13.11 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.9126, allocations: 4 kB / 1.189 GB, free: 13.11 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.9127, allocations: 38.55 kB / 1.189 GB, free: 13.06 MB / 0.92 GB Notification: Performance of pre-optimization done (n=32): time 1.923e-06/0.9127, allocations: 0 / 1.189 GB, free: 13.06 MB / 0.92 GB Notification: Performance of matching and sorting (n=33): time 0.002376/0.9151, allocations: 1.515 MB / 1.19 GB, free: 11.43 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.9151, allocations: 55.69 kB / 1.19 GB, free: 11.36 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004767/0.9156, allocations: 0.4991 MB / 1.191 GB, free: 10.86 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.9156, allocations: 29.7 kB / 1.191 GB, free: 10.82 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/0.9158, allocations: 371.7 kB / 1.191 GB, free: 10.45 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 8.811e-05/0.9159, allocations: 123 kB / 1.191 GB, free: 10.33 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.9161, allocations: 114.2 kB / 1.192 GB, free: 10.21 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.9162, allocations: 362.8 kB / 1.192 GB, free: 9.852 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002581/0.9165, allocations: 201.1 kB / 1.192 GB, free: 9.652 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003762/0.9169, allocations: 448.8 kB / 1.193 GB, free: 9.102 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007269/0.9176, allocations: 0.6921 MB / 1.193 GB, free: 8.293 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.9176, allocations: 4 kB / 1.193 GB, free: 8.289 MB / 0.92 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001174/0.9188, allocations: 0.8098 MB / 1.194 GB, free: 7.457 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.9188, allocations: 8.156 kB / 1.194 GB, free: 7.449 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.9188, allocations: 12 kB / 1.194 GB, free: 7.438 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005397/0.9194, allocations: 156 kB / 1.194 GB, free: 7.27 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004747/0.9199, allocations: 123.8 kB / 1.194 GB, free: 7.148 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003667/0.9236, allocations: 4.349 MB / 1.199 GB, free: 2.383 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004081/0.924, allocations: 31.97 kB / 1.199 GB, free: 2.352 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-05/0.924, allocations: 28 kB / 1.199 GB, free: 2.324 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003086/0.9244, allocations: 213.5 kB / 1.199 GB, free: 2.105 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.297e-05/0.9245, allocations: 67.69 kB / 1.199 GB, free: 2.039 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009666/0.9254, allocations: 0.601 MB / 1.199 GB, free: 1.41 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.9254, allocations: 7.984 kB / 1.199 GB, free: 1.402 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.9255, allocations: 4 kB / 1.199 GB, free: 1.398 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.9255, allocations: 0 / 1.199 GB, free: 1.398 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001686/0.9272, allocations: 1.261 MB / 1.201 GB, free: 44 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.9272, allocations: 4 kB / 1.201 GB, free: 40 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002556/0.9274, allocations: 51.95 kB / 1.201 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003598/0.9278, allocations: 144.3 kB / 1.201 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.9278, allocations: 11.94 kB / 1.201 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002909/0.9307, allocations: 4.341 MB / 1.205 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.9308, allocations: 12.08 kB / 1.205 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008924/0.9317, allocations: 0.7078 MB / 1.206 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001922/0.9319, allocations: 176.6 kB / 1.206 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.432e-05/0.9319, allocations: 8 kB / 1.206 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002463/0.9322, allocations: 19.97 kB / 1.206 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.086e-05/0.9323, allocations: 39.89 kB / 1.206 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.9323, allocations: 16 kB / 1.206 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003285/0.9326, allocations: 338.8 kB / 1.206 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9326, allocations: 3.938 kB / 1.206 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006153/0.9333, allocations: 136 kB / 1.207 GB, free: 9.551 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001434/0.9334, allocations: 120.3 kB / 1.207 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0013/0.9347, allocations: 1.04 MB / 1.208 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.9347, allocations: 0 / 1.208 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007831/0.9355, allocations: 0.7348 MB / 1.208 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009404/0.9365, allocations: 205.1 kB / 1.209 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.938, allocations: 1.1 MB / 1.21 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/0.9384, allocations: 0.9098 MB / 1.211 GB, free: 5.191 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.9386, allocations: 43.44 kB / 1.211 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of SimCode: time 5.21e-07/0.9386, allocations: 0 / 1.211 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of Templates: time 0.01971/0.9583, allocations: 18.37 MB / 1.229 GB, free: 2.812 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches