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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0008388/0.0008388, allocations: 94.03 kB / 15.06 MB, free: 1.086 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.0009129/0.000913, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 223.3 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.902/2.902, allocations: 462.6 MB / 0.736 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.0003764, allocations: 12.44 kB / 0.9021 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4002/0.4006, allocations: 159.6 MB / 1.058 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006601/0.4073, allocations: 4.301 MB / 1.062 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004258/0.4116, allocations: 2.344 MB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007078/0.4123, allocations: 27.69 kB / 1.065 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005146/0.4128, allocations: 87.22 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001569/0.4144, allocations: 350.1 kB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.4156, allocations: 303.3 kB / 1.065 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001726/0.4174, allocations: 0.9719 MB / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00106/0.4185, allocations: 428.2 kB / 1.067 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007059/0.4192, allocations: 298.6 kB / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006913/0.4199, allocations: 326.6 kB / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.000134/0.42, allocations: 24 kB / 1.067 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007352/0.4208, allocations: 187.7 kB / 1.067 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002775/0.4211, allocations: 159.5 kB / 1.068 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002954/0.4214, allocations: 137.3 kB / 1.068 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009903/0.4224, allocations: 0.6548 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4224, allocations: 0 / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.675e-06/0.4224, allocations: 0 / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.555e-05/0.4225, allocations: 0 / 1.068 GB, free: 10.79 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.00162/0.4241, allocations: 0.8373 MB / 1.069 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.4241, allocations: 8.031 kB / 1.069 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/0.4255, allocations: 202.9 kB / 1.069 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008703/0.4264, allocations: 493.3 kB / 1.07 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.364e-05/0.4264, allocations: 32.98 kB / 1.07 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.333e-05/0.4265, allocations: 47.94 kB / 1.07 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.4278, allocations: 0.8405 MB / 1.071 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.004e-05/0.4278, allocations: 7.938 kB / 1.071 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.376e-05/0.4279, allocations: 23.98 kB / 1.071 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001058/0.428, allocations: 72.89 kB / 1.071 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008435/0.4289, allocations: 0.5539 MB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004537/0.4334, allocations: 5.651 MB / 1.077 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006882/0.4341, allocations: 454.2 kB / 1.077 GB, free: 0.9609 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003226/0.4344, allocations: 224.7 kB / 1.078 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.231e-05/0.4345, allocations: 4 kB / 1.078 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.4346, allocations: 42.55 kB / 1.078 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=32): time 2.314e-06/0.4346, allocations: 0 / 1.078 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33): time 0.002922/0.4375, allocations: 1.513 MB / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.919e-05/0.4376, allocations: 55.69 kB / 1.079 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008037/0.4384, allocations: 499 kB / 1.08 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.4384, allocations: 33.7 kB / 1.08 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003176/0.4387, allocations: 362.8 kB / 1.08 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.4389, allocations: 126.2 kB / 1.08 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.548e-05/0.4389, allocations: 12 kB / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.4391, allocations: 370.7 kB / 1.08 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003013/0.4394, allocations: 193.2 kB / 1.081 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000486/0.4399, allocations: 447.3 kB / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004127/0.4403, allocations: 263.7 kB / 1.081 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.4403, allocations: 4 kB / 1.081 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001354/0.4417, allocations: 0.8019 MB / 1.082 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/0.4417, allocations: 13.75 kB / 1.082 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/0.4417, allocations: 12 kB / 1.082 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005276/0.4423, allocations: 152.1 kB / 1.082 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004633/0.4428, allocations: 123.8 kB / 1.082 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003449/0.4462, allocations: 4.032 MB / 1.086 GB, free: 7.016 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004064/0.4466, allocations: 35.92 kB / 1.086 GB, free: 6.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.641e-05/0.4467, allocations: 28 kB / 1.086 GB, free: 6.953 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 (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003305/0.447, allocations: 221.6 kB / 1.087 GB, free: 6.727 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.4472, allocations: 63.25 kB / 1.087 GB, free: 6.664 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.4482, allocations: 0.5892 MB / 1.087 GB, free: 6.055 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.4482, allocations: 4 kB / 1.087 GB, free: 6.051 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.4483, allocations: 4 kB / 1.087 GB, free: 6.047 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.4483, allocations: 3.984 kB / 1.087 GB, free: 6.043 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00188/0.4502, allocations: 1.258 MB / 1.088 GB, free: 4.695 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.4502, allocations: 0 / 1.088 GB, free: 4.695 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002371/0.4504, allocations: 55.89 kB / 1.088 GB, free: 4.641 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003786/0.4508, allocations: 148.3 kB / 1.089 GB, free: 4.48 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.924e-05/0.4508, allocations: 8 kB / 1.089 GB, free: 4.473 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00315/0.454, allocations: 4.02 MB / 1.093 GB, free: 48 kB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.454, allocations: 4.25 kB / 1.093 GB, free: 44 kB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.4551, allocations: 0.7075 MB / 1.093 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002536/0.4553, allocations: 172.3 kB / 1.093 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.869e-05/0.4554, allocations: 8 kB / 1.093 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002488/0.4557, allocations: 23.97 kB / 1.093 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.575e-05/0.4558, allocations: 35.8 kB / 1.093 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.098e-05/0.4558, allocations: 12 kB / 1.094 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004126/0.4562, allocations: 338.8 kB / 1.094 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4562, allocations: 0 / 1.094 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006754/0.4569, allocations: 144 kB / 1.094 GB, free: 14.55 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 (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001946/0.4571, allocations: 107.2 kB / 1.094 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001521/0.4586, allocations: 1.026 MB / 1.095 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.4587, allocations: 4 kB / 1.095 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0008349/0.4595, allocations: 0.7424 MB / 1.096 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009382/0.4605, allocations: 193.4 kB / 1.096 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.4624, allocations: 1.232 MB / 1.097 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005885/0.463, allocations: 0.9098 MB / 1.098 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000393/0.4634, allocations: 117.3 kB / 1.098 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.721e-05/0.4635, allocations: 39.44 kB / 1.098 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of SimCode: time 4.91e-07/0.4635, allocations: 0 / 1.098 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of Templates: time 0.01598/0.4795, allocations: 7.056 MB / 1.105 GB, free: 2.965 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