Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.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_9_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_9_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.008212/0.008212, allocations: 98.73 kB / 15.73 MB, free: 6.051 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.002016/0.002016, allocations: 191.5 kB / 16.67 MB, free: 5.977 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.542/1.542, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.467/2.467, allocations: 390.2 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 63.16 kB / 0.9508 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3979/0.3996, allocations: 140.4 MB / 1.088 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02163/0.4212, allocations: 16.02 MB / 1.104 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.009852/0.4311, allocations: 4.82 MB / 1.108 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001966/0.4331, allocations: 63.69 kB / 1.108 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003406/0.4366, allocations: 1.056 MB / 1.109 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002857/0.4395, allocations: 0.7777 MB / 1.11 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002982/0.4425, allocations: 0.9163 MB / 1.111 GB, free: 9.766 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.005251/0.4477, allocations: 3.618 MB / 1.115 GB, free: 6.137 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007611/0.4554, allocations: 4.769 MB / 1.119 GB, free: 1.301 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00331/0.4587, allocations: 1.601 MB / 1.121 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003411/0.4622, allocations: 1.776 MB / 1.122 GB, free: 13.91 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001145/0.4633, allocations: 340 kB / 1.123 GB, free: 13.58 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002616/0.466, allocations: 0.7919 MB / 1.124 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.002684/0.4687, allocations: 1.333 MB / 1.125 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.004006/0.4727, allocations: 1.455 MB / 1.126 GB, free: 9.992 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.008331/0.4811, allocations: 5.134 MB / 1.131 GB, free: 4.844 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.4811, allocations: 0 / 1.131 GB, free: 4.844 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.745e-06/0.4812, allocations: 0 / 1.131 GB, free: 4.844 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0002203/0.4814, allocations: 0 / 1.131 GB, free: 4.844 MB / 0.8887 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.009172/0.4906, allocations: 2.658 MB / 1.134 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.4906, allocations: 11.97 kB / 1.134 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004845/0.4955, allocations: 0.8329 MB / 1.135 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003917/0.4994, allocations: 1.568 MB / 1.136 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001984/0.4997, allocations: 177.1 kB / 1.136 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001129/0.5008, allocations: 236.3 kB / 1.137 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01117/0.512, allocations: 4.161 MB / 1.141 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001313/0.5121, allocations: 11.94 kB / 1.141 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007499/0.5129, allocations: 104 kB / 1.141 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002427/0.5132, allocations: 164.5 kB / 1.141 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008242/0.5214, allocations: 3.628 MB / 1.145 GB, free: 7.035 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02286/0.5443, allocations: 16.42 MB / 1.161 GB, free: 5.188 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003444/0.5478, allocations: 2.292 MB / 1.163 GB, free: 2.691 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009833/0.5488, allocations: 0.5824 MB / 1.163 GB, free: 2.102 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001975/0.549, allocations: 97.66 kB / 1.163 GB, free: 1.988 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.499e-05/0.5491, allocations: 43.06 kB / 1.164 GB, free: 1.938 MB / 0.92 GB Notification: Performance of pre-optimization done (n=72): time 3.396e-06/0.5491, allocations: 0 / 1.164 GB, free: 1.938 MB / 0.92 GB Notification: Performance of matching and sorting (n=76): time 0.006531/0.5556, allocations: 3.432 MB / 1.167 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.134e-05/0.5557, allocations: 111.5 kB / 1.167 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001612/0.5574, allocations: 1.022 MB / 1.168 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.052e-05/0.5574, allocations: 37.7 kB / 1.168 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.00073/0.5582, allocations: 1.103 MB / 1.169 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000231/0.5584, allocations: 272.2 kB / 1.169 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004099/0.5588, allocations: 279.2 kB / 1.17 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002007/0.559, allocations: 418.7 kB / 1.17 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009458/0.56, allocations: 0.6128 MB / 1.171 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001319/0.5613, allocations: 1.185 MB / 1.172 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002235/0.5636, allocations: 1.872 MB / 1.174 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-05/0.5636, allocations: 4 kB / 1.174 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003145/0.5667, allocations: 2.027 MB / 1.176 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.228e-05/0.5668, allocations: 12 kB / 1.176 GB, free: 4.828 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.177e-05/0.5668, allocations: 20 kB / 1.176 GB, free: 4.809 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000421/0.5672, allocations: 159.3 kB / 1.176 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/0.5683, allocations: 347.4 kB / 1.176 GB, free: 4.301 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.275e-05/0.5684, allocations: 35.86 kB / 1.176 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/0.5694, allocations: 135.7 kB / 1.176 GB, free: 4.133 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.362e-05/0.5695, allocations: 67.98 kB / 1.176 GB, free: 4.066 MB / 0.9356 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.001399/0.5709, allocations: 0.9771 MB / 1.177 GB, free: 3.078 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002117/0.5712, allocations: 110.7 kB / 1.177 GB, free: 2.969 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001975/0.5731, allocations: 1.23 MB / 1.179 GB, free: 1.715 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.5732, allocations: 11.94 kB / 1.179 GB, free: 1.703 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.5732, allocations: 0 / 1.179 GB, free: 1.703 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.5732, allocations: 3.984 kB / 1.179 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005204/0.5784, allocations: 3.794 MB / 1.182 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.5784, allocations: 8.031 kB / 1.182 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005641/0.579, allocations: 155.8 kB / 1.182 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003272/0.5793, allocations: 143.3 kB / 1.183 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.262e-05/0.5794, allocations: 12 kB / 1.183 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.928e-06/0.5794, allocations: 15.94 kB / 1.183 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.5794, allocations: 3.938 kB / 1.183 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001846/0.5813, allocations: 1.462 MB / 1.184 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004493/0.5817, allocations: 279.6 kB / 1.184 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.5818, allocations: 20 kB / 1.184 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005203/0.5824, allocations: 63.91 kB / 1.184 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.5825, allocations: 64.36 kB / 1.184 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.333e-05/0.5826, allocations: 20 kB / 1.184 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000878/0.5835, allocations: 0.6992 MB / 1.185 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5835, allocations: 0 / 1.185 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001488/0.585, allocations: 388 kB / 1.186 GB, free: 10.34 MB / 0.9512 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.0002496/0.5852, allocations: 139.1 kB / 1.186 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002624/0.5878, allocations: 1.718 MB / 1.187 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.5879, allocations: 0 / 1.187 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009834/0.5888, allocations: 0.858 MB / 1.188 GB, free: 7.461 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.5901, allocations: 265.7 kB / 1.188 GB, free: 7.203 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006198/0.5963, allocations: 3.768 MB / 1.192 GB, free: 3.371 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001674/0.598, allocations: 1.916 MB / 1.194 GB, free: 1.422 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001049/0.5991, allocations: 445.6 kB / 1.194 GB, free: 0.9844 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002124/0.5993, allocations: 83.42 kB / 1.194 GB, free: 0.9023 MB / 0.9512 GB Notification: Performance of SimCode: time 7.62e-07/0.5993, allocations: 3.938 kB / 1.194 GB, free: 0.8984 MB / 0.9512 GB Notification: Performance of Templates: time 0.02403/0.6234, allocations: 13.66 MB / 1.208 GB, free: 3.371 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches