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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001556/0.001556, allocations: 106.2 kB / 16.36 MB, free: 6.285 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.001834/0.001834, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.487/1.487, 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.0-maint.10.0.x/package.mo): time 2.701/2.701, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 64.56 kB / 0.8707 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3189, allocations: 151.6 MB / 1.019 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006/0.325, allocations: 4.912 MB / 1.024 GB, free: 4.922 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003634/0.3286, allocations: 2.483 MB / 1.026 GB, free: 2.43 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000267/0.3289, allocations: 27.75 kB / 1.026 GB, free: 2.402 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.3301, allocations: 406.4 kB / 1.026 GB, free: 2.004 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0008687/0.3309, allocations: 437.7 kB / 1.027 GB, free: 1.574 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008202/0.3318, allocations: 403.4 kB / 1.027 GB, free: 1.184 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0009179/0.3327, allocations: 0.9212 MB / 1.028 GB, free: 264 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005305/0.3332, allocations: 362.4 kB / 1.028 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003947/0.3336, allocations: 342.6 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004292/0.3341, allocations: 346.5 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.716e-05/0.3342, allocations: 36 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006154/0.3348, allocations: 403.1 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001785/0.335, allocations: 183.4 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002967/0.3353, allocations: 330.2 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000897/0.3362, allocations: 0.8876 MB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3362, allocations: 0 / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.794e-06/0.3362, allocations: 0 / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.399e-05/0.3362, allocations: 0 / 1.031 GB, free: 13.4 MB / 0.8106 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.00146/0.3377, allocations: 0.9502 MB / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.3377, allocations: 12.58 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/0.339, allocations: 203.8 kB / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000887/0.3399, allocations: 0.549 MB / 1.033 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.199e-05/0.3399, allocations: 37.36 kB / 1.033 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.367e-05/0.34, allocations: 40.38 kB / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.3411, allocations: 0.8448 MB / 1.033 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.723e-05/0.3411, allocations: 7.938 kB / 1.033 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.958e-05/0.3412, allocations: 23.98 kB / 1.033 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.376e-05/0.3413, allocations: 68.95 kB / 1.034 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007752/0.3421, allocations: 0.5616 MB / 1.034 GB, free: 9.887 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004362/0.3464, allocations: 5.65 MB / 1.04 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006959/0.3472, allocations: 462.1 kB / 1.04 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003081/0.3475, allocations: 224.7 kB / 1.04 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.44e-05/0.3475, allocations: 0.5312 kB / 1.04 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.3476, allocations: 42.56 kB / 1.04 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=32): time 2.204e-06/0.3476, allocations: 3.938 kB / 1.04 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33): time 0.002681/0.3503, allocations: 1.509 MB / 1.042 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.3503, allocations: 55.69 kB / 1.042 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005456/0.3509, allocations: 0.4991 MB / 1.042 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.3509, allocations: 29.7 kB / 1.042 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002499/0.3512, allocations: 362.8 kB / 1.043 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.307e-05/0.3513, allocations: 126.3 kB / 1.043 GB, free: 388 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.3514, allocations: 110.2 kB / 1.043 GB, free: 272 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.3516, allocations: 366.8 kB / 1.043 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002657/0.3518, allocations: 189.2 kB / 1.043 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004202/0.3523, allocations: 451.3 kB / 1.044 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007808/0.3531, allocations: 0.696 MB / 1.045 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.3531, allocations: 4 kB / 1.045 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001193/0.3543, allocations: 0.8057 MB / 1.045 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.3543, allocations: 12.03 kB / 1.045 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.363e-05/0.3543, allocations: 8 kB / 1.045 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004726/0.3548, allocations: 156 kB / 1.046 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004467/0.3553, allocations: 123.8 kB / 1.046 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003239/0.3585, allocations: 4.345 MB / 1.05 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003678/0.3589, allocations: 31.97 kB / 1.05 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-05/0.3589, allocations: 28 kB / 1.05 GB, free: 8.383 MB / 0.8262 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.0002856/0.3592, allocations: 227.1 kB / 1.05 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.122e-05/0.3593, allocations: 63.25 kB / 1.05 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009527/0.3603, allocations: 0.5933 MB / 1.051 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.3603, allocations: 4 kB / 1.051 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.3603, allocations: 4 kB / 1.051 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.3603, allocations: 0 / 1.051 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001745/0.3621, allocations: 1.27 MB / 1.052 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.3621, allocations: 4 kB / 1.052 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002364/0.3623, allocations: 48.17 kB / 1.052 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003928/0.3627, allocations: 148.1 kB / 1.052 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.755e-05/0.3628, allocations: 11.94 kB / 1.052 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003052/0.3658, allocations: 4.333 MB / 1.056 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.3658, allocations: 7.938 kB / 1.057 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009296/0.3668, allocations: 0.7037 MB / 1.057 GB, free: 376 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002279/0.367, allocations: 172.3 kB / 1.057 GB, free: 184 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.41e-05/0.3671, allocations: 11.98 kB / 1.057 GB, free: 172 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002444/0.3673, allocations: 19.97 kB / 1.057 GB, free: 152 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.845e-05/0.3674, allocations: 35.91 kB / 1.057 GB, free: 116 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/0.3675, allocations: 12 kB / 1.057 GB, free: 104 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003408/0.3678, allocations: 338.8 kB / 1.058 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3678, allocations: 0 / 1.058 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005855/0.3684, allocations: 136 kB / 1.058 GB, free: 15.64 MB / 0.8419 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.0001428/0.3685, allocations: 120.6 kB / 1.058 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001298/0.3698, allocations: 1.033 MB / 1.059 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3699, allocations: 0 / 1.059 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007865/0.3707, allocations: 0.7385 MB / 1.06 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000921/0.3716, allocations: 203.3 kB / 1.06 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.373, allocations: 1.039 MB / 1.061 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005651/0.3736, allocations: 0.9136 MB / 1.062 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000264/0.3738, allocations: 117.3 kB / 1.062 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.77e-05/0.3739, allocations: 43.44 kB / 1.062 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of SimCode: time 4.01e-07/0.3739, allocations: 0 / 1.062 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of Templates: time 0.01291/0.3869, allocations: 7.61 MB / 1.069 GB, free: 3.676 MB / 0.8419 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 -s gbode -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