Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 111.9 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001868/0.001868, allocations: 197.1 kB / 16.54 MB, free: 6.668 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.476/1.476, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.848/2.848, allocations: 472.6 MB / 0.7451 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 65.64 kB / 0.9121 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3089, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01946/0.3284, allocations: 16.02 MB / 1.084 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.009433/0.3378, allocations: 4.82 MB / 1.089 GB, free: 5.527 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001327/0.3392, allocations: 67.69 kB / 1.089 GB, free: 5.461 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002943/0.3422, allocations: 1.038 MB / 1.09 GB, free: 4.422 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002181/0.3444, allocations: 0.7464 MB / 1.09 GB, free: 3.672 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002449/0.3469, allocations: 0.9196 MB / 1.091 GB, free: 2.75 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003756/0.3506, allocations: 3.618 MB / 1.095 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006071/0.3567, allocations: 4.789 MB / 1.1 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002464/0.3592, allocations: 1.578 MB / 1.101 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002691/0.3619, allocations: 1.776 MB / 1.103 GB, free: 6.898 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001114/0.3631, allocations: 343.9 kB / 1.103 GB, free: 6.562 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002692/0.3658, allocations: 0.7959 MB / 1.104 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.00222/0.368, allocations: 1.322 MB / 1.105 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.003461/0.3715, allocations: 1.459 MB / 1.107 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.006241/0.3778, allocations: 5.095 MB / 1.112 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.3778, allocations: 0 / 1.112 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3778, allocations: 4 kB / 1.112 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001694/0.378, allocations: 0 / 1.112 GB, free: 13.86 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.008148/0.3861, allocations: 2.658 MB / 1.114 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.96e-05/0.3862, allocations: 8.031 kB / 1.114 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004176/0.3904, allocations: 0.8251 MB / 1.115 GB, free: 10.31 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00337/0.3938, allocations: 1.505 MB / 1.116 GB, free: 8.758 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001591/0.394, allocations: 177.1 kB / 1.117 GB, free: 8.582 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005697/0.3946, allocations: 232.4 kB / 1.117 GB, free: 8.355 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007772/0.4023, allocations: 4.161 MB / 1.121 GB, free: 4.055 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.214e-05/0.4024, allocations: 3.938 kB / 1.121 GB, free: 4.051 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002646/0.4027, allocations: 99.98 kB / 1.121 GB, free: 3.953 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002115/0.4029, allocations: 172.5 kB / 1.121 GB, free: 3.781 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006278/0.4092, allocations: 3.636 MB / 1.125 GB, free: 132 kB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01953/0.4288, allocations: 16.54 MB / 1.141 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003301/0.4321, allocations: 2.292 MB / 1.143 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008732/0.433, allocations: 0.584 MB / 1.144 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001522/0.4332, allocations: 93.66 kB / 1.144 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.4332, allocations: 51.11 kB / 1.144 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=72): time 2.364e-06/0.4332, allocations: 0 / 1.144 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of matching and sorting (n=76): time 0.005582/0.4388, allocations: 3.428 MB / 1.147 GB, free: 7.367 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.437e-05/0.4389, allocations: 115.4 kB / 1.147 GB, free: 7.23 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00134/0.4403, allocations: 1.018 MB / 1.148 GB, free: 6.188 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.359e-05/0.4403, allocations: 41.7 kB / 1.148 GB, free: 6.141 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006714/0.441, allocations: 1.107 MB / 1.149 GB, free: 5.016 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002214/0.4412, allocations: 268.3 kB / 1.15 GB, free: 4.75 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003694/0.4416, allocations: 279.2 kB / 1.15 GB, free: 4.473 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001915/0.4418, allocations: 410.7 kB / 1.15 GB, free: 4.062 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008862/0.4427, allocations: 0.6128 MB / 1.151 GB, free: 3.449 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001245/0.444, allocations: 1.193 MB / 1.152 GB, free: 1.996 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002222/0.4462, allocations: 1.864 MB / 1.154 GB, free: 15.87 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/0.4462, allocations: 4 kB / 1.154 GB, free: 15.87 MB / 0.92 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003475/0.4497, allocations: 2.022 MB / 1.156 GB, free: 13.82 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.851e-05/0.4498, allocations: 16 kB / 1.156 GB, free: 13.81 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.067e-05/0.4498, allocations: 16 kB / 1.156 GB, free: 13.79 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004563/0.4503, allocations: 164 kB / 1.156 GB, free: 13.62 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/0.4514, allocations: 343.4 kB / 1.156 GB, free: 13.29 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.019e-05/0.4515, allocations: 39.86 kB / 1.156 GB, free: 13.25 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.4525, allocations: 139.5 kB / 1.157 GB, free: 13.11 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.4527, allocations: 68 kB / 1.157 GB, free: 13.04 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001648/0.4543, allocations: 0.9806 MB / 1.158 GB, free: 12.05 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002203/0.4545, allocations: 106.7 kB / 1.158 GB, free: 11.95 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002005/0.4565, allocations: 1.23 MB / 1.159 GB, free: 10.69 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.4566, allocations: 11.94 kB / 1.159 GB, free: 10.68 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.4566, allocations: 4 kB / 1.159 GB, free: 10.68 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.4566, allocations: 3.984 kB / 1.159 GB, free: 10.67 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005871/0.4625, allocations: 3.807 MB / 1.163 GB, free: 6.711 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.4625, allocations: 0 / 1.163 GB, free: 6.711 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006354/0.4632, allocations: 155.8 kB / 1.163 GB, free: 6.559 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003571/0.4635, allocations: 139.6 kB / 1.163 GB, free: 6.41 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.031e-05/0.4636, allocations: 27.92 kB / 1.163 GB, free: 6.383 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.237e-06/0.4636, allocations: 7.938 kB / 1.163 GB, free: 6.375 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.4636, allocations: 4 kB / 1.163 GB, free: 6.371 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00206/0.4657, allocations: 1.468 MB / 1.164 GB, free: 4.852 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000485/0.4662, allocations: 267.8 kB / 1.165 GB, free: 4.57 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.4663, allocations: 16 kB / 1.165 GB, free: 4.555 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005701/0.4669, allocations: 67.91 kB / 1.165 GB, free: 4.488 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.467, allocations: 60.5 kB / 1.165 GB, free: 4.43 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.901e-05/0.4671, allocations: 24 kB / 1.165 GB, free: 4.406 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0009242/0.468, allocations: 0.703 MB / 1.165 GB, free: 3.691 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.1e-07/0.468, allocations: 0 / 1.165 GB, free: 3.691 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00145/0.4695, allocations: 388 kB / 1.166 GB, free: 3.312 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002403/0.4697, allocations: 127.1 kB / 1.166 GB, free: 3.18 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003135/0.4729, allocations: 2.015 MB / 1.168 GB, free: 1.082 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.4729, allocations: 3.938 kB / 1.168 GB, free: 1.078 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.4739, allocations: 0.8709 MB / 1.169 GB, free: 124 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/0.4754, allocations: 261.4 kB / 1.169 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006329/0.4818, allocations: 3.818 MB / 1.173 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001774/0.4836, allocations: 1.92 MB / 1.175 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001183/0.4848, allocations: 441.6 kB / 1.175 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002109/0.485, allocations: 87.42 kB / 1.175 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of SimCode: time 5.91e-07/0.485, allocations: 3.938 kB / 1.175 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of Templates: time 0.02521/0.5102, allocations: 13.27 MB / 1.188 GB, free: 12.38 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches