Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001661/0.001661, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001696/0.001696, allocations: 196 kB / 16.14 MB, free: 6.711 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.409/1.409, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.859/2.859, allocations: 472.6 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 61.14 kB / 0.9114 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4537/0.4551, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.007463/0.4627, allocations: 4.924 MB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004852/0.4676, allocations: 2.506 MB / 1.075 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007568/0.4683, allocations: 23.81 kB / 1.075 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001393/0.4698, allocations: 362.5 kB / 1.075 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001379/0.4712, allocations: 410 kB / 1.076 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001119/0.4723, allocations: 370.7 kB / 1.076 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001488/0.4738, allocations: 1.128 MB / 1.077 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008119/0.4747, allocations: 351.3 kB / 1.077 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006332/0.4753, allocations: 306.6 kB / 1.078 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007078/0.476, allocations: 354.4 kB / 1.078 GB, free: 152 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.4762, allocations: 28 kB / 1.078 GB, free: 124 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009829/0.4771, allocations: 0.4912 MB / 1.078 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002673/0.4774, allocations: 171.4 kB / 1.079 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004839/0.4779, allocations: 306.2 kB / 1.079 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001413/0.4793, allocations: 0.8956 MB / 1.08 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.4794, allocations: 3.938 kB / 1.08 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4794, allocations: 0 / 1.08 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.16e-05/0.4794, allocations: 0 / 1.08 GB, free: 14.26 MB / 0.8419 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.001965/0.4814, allocations: 0.9464 MB / 1.081 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.4814, allocations: 8.031 kB / 1.081 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00146/0.4829, allocations: 203.9 kB / 1.081 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000806/0.4837, allocations: 0.4982 MB / 1.081 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.635e-05/0.4838, allocations: 33.38 kB / 1.081 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.555e-05/0.4838, allocations: 44.36 kB / 1.082 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.4851, allocations: 0.8485 MB / 1.082 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/0.4851, allocations: 7.922 kB / 1.082 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.153e-05/0.4852, allocations: 27.98 kB / 1.082 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001011/0.4853, allocations: 64.95 kB / 1.082 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000908/0.4862, allocations: 0.5656 MB / 1.083 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004965/0.4912, allocations: 5.662 MB / 1.089 GB, free: 4.742 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007081/0.4919, allocations: 457.2 kB / 1.089 GB, free: 4.289 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004775/0.4924, allocations: 228.7 kB / 1.089 GB, free: 4.062 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.551e-05/0.4925, allocations: 4 kB / 1.089 GB, free: 4.059 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.4925, allocations: 34.5 kB / 1.089 GB, free: 4.016 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=32): time 2.575e-06/0.4925, allocations: 0 / 1.089 GB, free: 4.016 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33): time 0.002958/0.4955, allocations: 1.517 MB / 1.091 GB, free: 2.383 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.4956, allocations: 55.62 kB / 1.091 GB, free: 2.316 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005891/0.4961, allocations: 0.503 MB / 1.091 GB, free: 1.801 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.791e-05/0.4962, allocations: 33.7 kB / 1.091 GB, free: 1.762 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002699/0.4965, allocations: 362.8 kB / 1.092 GB, free: 1.402 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.4966, allocations: 114.3 kB / 1.092 GB, free: 1.289 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/0.4968, allocations: 110.2 kB / 1.092 GB, free: 1.172 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.4969, allocations: 366.8 kB / 1.092 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002939/0.4972, allocations: 197.2 kB / 1.092 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004503/0.4977, allocations: 443.3 kB / 1.093 GB, free: 64 kB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009712/0.4987, allocations: 0.6913 MB / 1.093 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.4987, allocations: 4 kB / 1.093 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001431/0.5001, allocations: 0.8094 MB / 1.094 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.5002, allocations: 11.94 kB / 1.094 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.5002, allocations: 8 kB / 1.094 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005212/0.5007, allocations: 160.6 kB / 1.094 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004402/0.5012, allocations: 123.7 kB / 1.095 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003505/0.5047, allocations: 4.04 MB / 1.099 GB, free: 9.664 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004335/0.5051, allocations: 35.97 kB / 1.099 GB, free: 9.629 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.129e-05/0.5052, allocations: 31.98 kB / 1.099 GB, free: 9.598 MB / 0.8575 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.0003003/0.5055, allocations: 209.6 kB / 1.099 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.5056, allocations: 59.25 kB / 1.099 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/0.5067, allocations: 0.601 MB / 1.099 GB, free: 8.703 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.5067, allocations: 4 kB / 1.099 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.5067, allocations: 0 / 1.099 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.589e-05/0.5068, allocations: 7.922 kB / 1.099 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001963/0.5087, allocations: 1.261 MB / 1.101 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.5087, allocations: 0 / 1.101 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002564/0.509, allocations: 59.89 kB / 1.101 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004101/0.5094, allocations: 140.4 kB / 1.101 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.849e-05/0.5095, allocations: 11.94 kB / 1.101 GB, free: 7.117 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003371/0.5128, allocations: 4.037 MB / 1.105 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5129, allocations: 0 / 1.105 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.5139, allocations: 0.7076 MB / 1.105 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002371/0.5142, allocations: 168.3 kB / 1.106 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.383e-05/0.5143, allocations: 11.94 kB / 1.106 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/0.5145, allocations: 31.91 kB / 1.106 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.218e-05/0.5146, allocations: 31.89 kB / 1.106 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.054e-05/0.5146, allocations: 16 kB / 1.106 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003869/0.515, allocations: 334.8 kB / 1.106 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.515, allocations: 4 kB / 1.106 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006582/0.5157, allocations: 136 kB / 1.106 GB, free: 1.184 MB / 0.8575 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.0001508/0.5159, allocations: 123.9 kB / 1.106 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001567/0.5174, allocations: 1.024 MB / 1.107 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.5175, allocations: 4 kB / 1.107 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008547/0.5183, allocations: 0.7468 MB / 1.108 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.5193, allocations: 190.7 kB / 1.108 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/0.5213, allocations: 1.258 MB / 1.109 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005743/0.5219, allocations: 0.9098 MB / 1.11 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003991/0.5223, allocations: 121.3 kB / 1.11 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.5224, allocations: 43.44 kB / 1.11 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of SimCode: time 4.91e-07/0.5224, allocations: 0 / 1.11 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of Templates: time 0.0149/0.5373, allocations: 7.348 MB / 1.118 GB, free: 5.254 MB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches