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.007857/0.007857, allocations: 98.47 kB / 15.73 MB, free: 6.07 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.001567/0.001567, allocations: 192.1 kB / 16.67 MB, free: 5.977 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.467/1.467, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.631/2.631, allocations: 437 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 55.91 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.15/1.151, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006082/1.157, allocations: 4.901 MB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004189/1.161, allocations: 2.483 MB / 1.174 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004322/1.162, allocations: 27.81 kB / 1.174 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001215/1.163, allocations: 407 kB / 1.174 GB, free: 12 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001282/1.165, allocations: 445.6 kB / 1.175 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001133/1.166, allocations: 401.5 kB / 1.175 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001276/1.167, allocations: 0.9212 MB / 1.176 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006291/1.168, allocations: 354.5 kB / 1.176 GB, free: 9.887 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005479/1.168, allocations: 338.7 kB / 1.177 GB, free: 9.555 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005526/1.169, allocations: 358.4 kB / 1.177 GB, free: 9.203 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.615e-05/1.169, allocations: 36 kB / 1.177 GB, free: 9.168 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009031/1.17, allocations: 399.1 kB / 1.177 GB, free: 8.777 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001902/1.17, allocations: 183.4 kB / 1.178 GB, free: 8.598 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003219/1.17, allocations: 326.2 kB / 1.178 GB, free: 8.277 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00111/1.171, allocations: 0.8954 MB / 1.179 GB, free: 7.383 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/1.171, allocations: 0 / 1.179 GB, free: 7.383 MB / 0.9044 GB Notification: Performance of FrontEnd: time 5.661e-06/1.171, allocations: 0 / 1.179 GB, free: 7.383 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.127e-05/1.171, allocations: 3.938 kB / 1.179 GB, free: 7.379 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.001643/1.173, allocations: 0.971 MB / 1.18 GB, free: 6.359 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.8e-05/1.173, allocations: 12.88 kB / 1.18 GB, free: 6.348 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001316/1.174, allocations: 208.2 kB / 1.18 GB, free: 6.145 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009955/1.175, allocations: 0.5611 MB / 1.18 GB, free: 5.543 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.978e-05/1.175, allocations: 37.3 kB / 1.18 GB, free: 5.504 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.992e-05/1.176, allocations: 48.38 kB / 1.18 GB, free: 5.457 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/1.177, allocations: 0.8485 MB / 1.181 GB, free: 4.48 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.981e-05/1.177, allocations: 11.94 kB / 1.181 GB, free: 4.469 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/1.177, allocations: 23.98 kB / 1.181 GB, free: 4.445 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.364e-05/1.177, allocations: 64.95 kB / 1.181 GB, free: 4.383 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000899/1.178, allocations: 0.5656 MB / 1.182 GB, free: 3.816 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005125/1.183, allocations: 5.651 MB / 1.187 GB, free: 13.77 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006888/1.184, allocations: 458.2 kB / 1.188 GB, free: 13.31 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003405/1.184, allocations: 232.7 kB / 1.188 GB, free: 13.08 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.663e-05/1.184, allocations: 4 kB / 1.188 GB, free: 13.08 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/1.184, allocations: 38.56 kB / 1.188 GB, free: 13.03 MB / 0.92 GB Notification: Performance of pre-optimization done (n=32): time 1.653e-06/1.184, allocations: 3.938 kB / 1.188 GB, free: 13.03 MB / 0.92 GB Notification: Performance of matching and sorting (n=33): time 0.002649/1.187, allocations: 1.512 MB / 1.19 GB, free: 11.4 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/1.187, allocations: 55.69 kB / 1.19 GB, free: 11.34 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005547/1.187, allocations: 0.4952 MB / 1.19 GB, free: 10.83 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.698e-05/1.187, allocations: 33.64 kB / 1.19 GB, free: 10.79 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002622/1.188, allocations: 379.7 kB / 1.191 GB, free: 10.42 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/1.188, allocations: 126.9 kB / 1.191 GB, free: 10.29 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/1.188, allocations: 114.2 kB / 1.191 GB, free: 10.18 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001601/1.188, allocations: 358.8 kB / 1.191 GB, free: 9.816 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000277/1.188, allocations: 197.2 kB / 1.191 GB, free: 9.621 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004458/1.189, allocations: 451.3 kB / 1.192 GB, free: 9.066 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007993/1.19, allocations: 0.6843 MB / 1.192 GB, free: 8.266 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/1.19, allocations: 8 kB / 1.192 GB, free: 8.258 MB / 0.92 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001254/1.191, allocations: 0.8138 MB / 1.193 GB, free: 7.422 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/1.191, allocations: 8 kB / 1.193 GB, free: 7.414 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/1.191, allocations: 12.12 kB / 1.193 GB, free: 7.402 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00059/1.192, allocations: 148.1 kB / 1.193 GB, free: 7.242 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004594/1.192, allocations: 127.7 kB / 1.194 GB, free: 7.117 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003636/1.196, allocations: 4.348 MB / 1.198 GB, free: 2.352 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004376/1.196, allocations: 31.97 kB / 1.198 GB, free: 2.32 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.656e-05/1.196, allocations: 28 kB / 1.198 GB, free: 2.293 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.0003467/1.197, allocations: 210.1 kB / 1.198 GB, free: 2.078 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.145e-05/1.197, allocations: 67.69 kB / 1.198 GB, free: 2.012 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/1.198, allocations: 0.601 MB / 1.199 GB, free: 1.383 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/1.198, allocations: 4 kB / 1.199 GB, free: 1.379 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.198, allocations: 7.984 kB / 1.199 GB, free: 1.371 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/1.198, allocations: 0 / 1.199 GB, free: 1.371 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001792/1.2, allocations: 1.261 MB / 1.2 GB, free: 16 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/1.2, allocations: 4 kB / 1.2 GB, free: 12 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00025/1.2, allocations: 51.89 kB / 1.2 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003869/1.2, allocations: 148.3 kB / 1.2 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/1.2, allocations: 11.94 kB / 1.2 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003611/1.204, allocations: 4.337 MB / 1.204 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.718e-06/1.204, allocations: 8.188 kB / 1.204 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/1.205, allocations: 0.7078 MB / 1.205 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002221/1.205, allocations: 176.6 kB / 1.205 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.662e-05/1.205, allocations: 11.94 kB / 1.205 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002416/1.206, allocations: 19.97 kB / 1.205 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.897e-05/1.206, allocations: 43.83 kB / 1.205 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/1.206, allocations: 8 kB / 1.205 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000388/1.206, allocations: 338.8 kB / 1.206 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/1.206, allocations: 0 / 1.206 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006184/1.207, allocations: 140 kB / 1.206 GB, free: 9.527 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.000158/1.207, allocations: 111.2 kB / 1.206 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00149/1.208, allocations: 1.045 MB / 1.207 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/1.208, allocations: 4 kB / 1.207 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008881/1.209, allocations: 0.731 MB / 1.208 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009742/1.21, allocations: 203.7 kB / 1.208 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/1.212, allocations: 1.046 MB / 1.209 GB, free: 6.168 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006283/1.213, allocations: 0.9136 MB / 1.21 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002844/1.213, allocations: 117.3 kB / 1.21 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.739e-05/1.213, allocations: 39.44 kB / 1.21 GB, free: 5.07 MB / 0.9356 GB Notification: Performance of SimCode: time 6.31e-07/1.213, allocations: 4 kB / 1.21 GB, free: 5.066 MB / 0.9356 GB Notification: Performance of Templates: time 0.01361/1.227, allocations: 7.709 MB / 1.217 GB, free: 13.45 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/jenkins/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