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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001332/0.001338, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001407/0.001407, allocations: 194.9 kB / 16.14 MB, free: 6.645 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.392/1.392, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.821/2.821, allocations: 461.9 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 69.75 kB / 0.8984 GB, free: 37.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3798, allocations: 157.4 MB / 1.052 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006211/0.3861, allocations: 4.93 MB / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004006/0.3901, allocations: 2.506 MB / 1.059 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002829/0.3904, allocations: 23.81 kB / 1.059 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001135/0.3916, allocations: 377.9 kB / 1.06 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.00091/0.3925, allocations: 410 kB / 1.06 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008327/0.3933, allocations: 367.4 kB / 1.06 GB, free: 236 kB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001102/0.3945, allocations: 1.139 MB / 1.062 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005721/0.395, allocations: 347.3 kB / 1.062 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003643/0.3954, allocations: 306.6 kB / 1.062 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004488/0.3959, allocations: 350.5 kB / 1.063 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.917e-05/0.3959, allocations: 27.94 kB / 1.063 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008692/0.3968, allocations: 499 kB / 1.063 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001867/0.397, allocations: 171.4 kB / 1.063 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002901/0.3973, allocations: 306.2 kB / 1.064 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009333/0.3982, allocations: 0.8917 MB / 1.064 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.3983, allocations: 0 / 1.064 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.522e-06/0.3983, allocations: 0 / 1.064 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.3983, allocations: 0 / 1.064 GB, free: 12.22 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001799/0.4001, allocations: 0.9541 MB / 1.065 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.4002, allocations: 8.031 kB / 1.065 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/0.4014, allocations: 203.8 kB / 1.066 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006371/0.402, allocations: 0.4944 MB / 1.066 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.927e-05/0.4021, allocations: 37.36 kB / 1.066 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.766e-05/0.4022, allocations: 40.38 kB / 1.066 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.4032, allocations: 0.8448 MB / 1.067 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.853e-05/0.4032, allocations: 11.92 kB / 1.067 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.84e-05/0.4033, allocations: 23.98 kB / 1.067 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.852e-05/0.4034, allocations: 64.95 kB / 1.067 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007774/0.4042, allocations: 0.5695 MB / 1.068 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004156/0.4083, allocations: 5.646 MB / 1.073 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005998/0.409, allocations: 462.2 kB / 1.074 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002958/0.4093, allocations: 228.7 kB / 1.074 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.4093, allocations: 4.531 kB / 1.074 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.4093, allocations: 38.56 kB / 1.074 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=32): time 1.472e-06/0.4093, allocations: 0 / 1.074 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33): time 0.002406/0.4117, allocations: 1.511 MB / 1.075 GB, free: 356 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.4118, allocations: 63.62 kB / 1.075 GB, free: 280 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005205/0.4123, allocations: 0.4952 MB / 1.076 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.4124, allocations: 33.7 kB / 1.076 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000222/0.4126, allocations: 362.7 kB / 1.076 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.613e-05/0.4127, allocations: 118.3 kB / 1.076 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.4128, allocations: 106.2 kB / 1.076 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.413, allocations: 370.8 kB / 1.077 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002713/0.4133, allocations: 193.2 kB / 1.077 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004592/0.4137, allocations: 443.3 kB / 1.077 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000799/0.4145, allocations: 0.6994 MB / 1.078 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4145, allocations: 0 / 1.078 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001201/0.4158, allocations: 0.809 MB / 1.079 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.4158, allocations: 8 kB / 1.079 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/0.4158, allocations: 8 kB / 1.079 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004791/0.4163, allocations: 164.7 kB / 1.079 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004086/0.4167, allocations: 119.8 kB / 1.079 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003048/0.4198, allocations: 4.04 MB / 1.083 GB, free: 7.637 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000318/0.4201, allocations: 35.97 kB / 1.083 GB, free: 7.602 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.766e-05/0.4201, allocations: 28 kB / 1.083 GB, free: 7.574 MB / 0.8419 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.0002497/0.4204, allocations: 218.5 kB / 1.083 GB, free: 7.355 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.237e-05/0.4205, allocations: 67.34 kB / 1.083 GB, free: 7.289 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009722/0.4215, allocations: 0.5892 MB / 1.084 GB, free: 6.68 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.4215, allocations: 4 kB / 1.084 GB, free: 6.676 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.4215, allocations: 4 kB / 1.084 GB, free: 6.672 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-06/0.4215, allocations: 7.922 kB / 1.084 GB, free: 6.664 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001686/0.4232, allocations: 1.262 MB / 1.085 GB, free: 5.312 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.4232, allocations: 0 / 1.085 GB, free: 5.312 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.4234, allocations: 51.95 kB / 1.085 GB, free: 5.262 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003779/0.4238, allocations: 148.3 kB / 1.085 GB, free: 5.102 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.118e-05/0.4239, allocations: 8 kB / 1.085 GB, free: 5.094 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002917/0.4268, allocations: 4.024 MB / 1.089 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.4268, allocations: 7.969 kB / 1.089 GB, free: 0.6562 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009815/0.4278, allocations: 0.7008 MB / 1.09 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/0.428, allocations: 172.3 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.351e-05/0.4281, allocations: 11.94 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/0.4283, allocations: 23.97 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.842e-05/0.4284, allocations: 35.89 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/0.4284, allocations: 12 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003712/0.4288, allocations: 338.8 kB / 1.091 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of sort global known variables: time 6.01e-07/0.4288, allocations: 0 / 1.091 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00061/0.4294, allocations: 136 kB / 1.091 GB, free: 15.17 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.0001535/0.4296, allocations: 119.1 kB / 1.091 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001362/0.431, allocations: 1.035 MB / 1.092 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.431, allocations: 1.062 kB / 1.092 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007756/0.4318, allocations: 0.7384 MB / 1.093 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009129/0.4327, allocations: 196.6 kB / 1.093 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.4344, allocations: 1.263 MB / 1.094 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004818/0.4348, allocations: 0.9136 MB / 1.095 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003453/0.4352, allocations: 125.2 kB / 1.095 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.346e-05/0.4353, allocations: 39.44 kB / 1.095 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of SimCode: time 4.2e-07/0.4353, allocations: 0 / 1.095 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of Templates: time 0.01271/0.448, allocations: 7.35 MB / 1.102 GB, free: 3.234 MB / 0.8575 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