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.001712/0.001712, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002885/0.002886, allocations: 192 kB / 16.25 MB, free: 6.637 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.376/1.376, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.764/2.764, allocations: 472.6 MB / 0.7448 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 71.95 kB / 0.9116 GB, free: 33.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2796, allocations: 159.9 MB / 1.068 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.0196/0.2993, allocations: 15.92 MB / 1.083 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.008288/0.3076, allocations: 4.778 MB / 1.088 GB, free: 5.969 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001396/0.309, allocations: 59.69 kB / 1.088 GB, free: 5.91 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002849/0.3119, allocations: 0.9688 MB / 1.089 GB, free: 4.938 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002115/0.3141, allocations: 0.6846 MB / 1.09 GB, free: 4.25 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002615/0.3167, allocations: 0.8374 MB / 1.09 GB, free: 3.414 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003868/0.3206, allocations: 3.63 MB / 1.094 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007934/0.3285, allocations: 5.838 MB / 1.1 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002308/0.3309, allocations: 1.601 MB / 1.101 GB, free: 8.266 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002827/0.3337, allocations: 1.87 MB / 1.103 GB, free: 6.391 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0008971/0.3346, allocations: 336 kB / 1.103 GB, free: 6.062 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001849/0.3365, allocations: 0.7958 MB / 1.104 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001839/0.3383, allocations: 1.329 MB / 1.105 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002442/0.3408, allocations: 1.459 MB / 1.107 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.005529/0.3463, allocations: 5.134 MB / 1.112 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.3463, allocations: 0 / 1.112 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3464, allocations: 0 / 1.112 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001641/0.3465, allocations: 4 kB / 1.112 GB, free: 13.32 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.006653/0.3532, allocations: 2.643 MB / 1.114 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.3532, allocations: 8.031 kB / 1.114 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004242/0.3575, allocations: 0.8368 MB / 1.115 GB, free: 9.766 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003097/0.3606, allocations: 1.501 MB / 1.117 GB, free: 8.219 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/0.3608, allocations: 177.1 kB / 1.117 GB, free: 8.043 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005664/0.3613, allocations: 236.3 kB / 1.117 GB, free: 7.812 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007657/0.369, allocations: 4.154 MB / 1.121 GB, free: 3.52 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.464e-05/0.3691, allocations: 15.86 kB / 1.121 GB, free: 3.504 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003452/0.3694, allocations: 99.97 kB / 1.121 GB, free: 3.406 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001857/0.3696, allocations: 172.5 kB / 1.122 GB, free: 3.234 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005992/0.3756, allocations: 3.628 MB / 1.125 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01992/0.3956, allocations: 16.54 MB / 1.141 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003228/0.3988, allocations: 2.28 MB / 1.143 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008588/0.3997, allocations: 0.5819 MB / 1.144 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001684/0.3999, allocations: 97.64 kB / 1.144 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.4, allocations: 43.12 kB / 1.144 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=72): time 2.535e-06/0.4, allocations: 0 / 1.144 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of matching and sorting (n=76): time 0.006045/0.406, allocations: 3.428 MB / 1.147 GB, free: 6.84 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.884e-05/0.4061, allocations: 119.3 kB / 1.148 GB, free: 6.699 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/0.4075, allocations: 1.014 MB / 1.149 GB, free: 5.66 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.242e-05/0.4076, allocations: 37.7 kB / 1.149 GB, free: 5.617 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007689/0.4084, allocations: 1.11 MB / 1.15 GB, free: 4.488 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002405/0.4086, allocations: 264.3 kB / 1.15 GB, free: 4.227 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004157/0.4091, allocations: 279.2 kB / 1.15 GB, free: 3.949 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001919/0.4093, allocations: 418.7 kB / 1.151 GB, free: 3.531 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000927/0.4102, allocations: 0.6089 MB / 1.151 GB, free: 2.922 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001356/0.4116, allocations: 1.189 MB / 1.152 GB, free: 1.469 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002195/0.4138, allocations: 1.868 MB / 1.154 GB, free: 15.33 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.326e-05/0.4138, allocations: 4 kB / 1.154 GB, free: 15.33 MB / 0.92 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003173/0.417, allocations: 2.022 MB / 1.156 GB, free: 13.29 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.417, allocations: 12 kB / 1.156 GB, free: 13.27 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.668e-05/0.4171, allocations: 20 kB / 1.156 GB, free: 13.25 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004073/0.4175, allocations: 159.3 kB / 1.156 GB, free: 13.09 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.4186, allocations: 347.3 kB / 1.157 GB, free: 12.75 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.84e-05/0.4186, allocations: 39.98 kB / 1.157 GB, free: 12.71 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/0.4197, allocations: 131.7 kB / 1.157 GB, free: 12.58 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/0.4198, allocations: 75.92 kB / 1.157 GB, free: 12.5 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.001378/0.4212, allocations: 0.9771 MB / 1.158 GB, free: 11.52 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002547/0.4215, allocations: 114.7 kB / 1.158 GB, free: 11.4 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002115/0.4236, allocations: 1.226 MB / 1.159 GB, free: 10.15 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.4236, allocations: 11.94 kB / 1.159 GB, free: 10.14 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.4236, allocations: 0 / 1.159 GB, free: 10.14 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.4236, allocations: 7.984 kB / 1.159 GB, free: 10.13 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005818/0.4295, allocations: 3.804 MB / 1.163 GB, free: 6.18 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.717e-06/0.4295, allocations: 8.031 kB / 1.163 GB, free: 6.172 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006143/0.4301, allocations: 155.8 kB / 1.163 GB, free: 6.02 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003564/0.4305, allocations: 143.3 kB / 1.163 GB, free: 5.867 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.723e-05/0.4305, allocations: 20 kB / 1.163 GB, free: 5.848 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.117e-06/0.4306, allocations: 11.88 kB / 1.163 GB, free: 5.836 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.4306, allocations: 8 kB / 1.163 GB, free: 5.828 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001908/0.4325, allocations: 1.464 MB / 1.165 GB, free: 4.309 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004545/0.433, allocations: 267.8 kB / 1.165 GB, free: 4.027 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001967/0.4332, allocations: 24 kB / 1.165 GB, free: 4.004 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006729/0.4338, allocations: 67.89 kB / 1.165 GB, free: 3.938 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.434, allocations: 64.36 kB / 1.165 GB, free: 3.875 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.614e-05/0.434, allocations: 20 kB / 1.165 GB, free: 3.855 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.000999/0.435, allocations: 0.703 MB / 1.166 GB, free: 3.141 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/0.435, allocations: 4 kB / 1.166 GB, free: 3.137 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001454/0.4365, allocations: 384 kB / 1.166 GB, free: 2.762 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.0002001/0.4367, allocations: 127.6 kB / 1.166 GB, free: 2.629 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002845/0.4396, allocations: 2.014 MB / 1.168 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.4396, allocations: 4 kB / 1.168 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009412/0.4405, allocations: 0.8642 MB / 1.169 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/0.442, allocations: 268.2 kB / 1.169 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006779/0.4488, allocations: 4.807 MB / 1.174 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001844/0.4507, allocations: 1.92 MB / 1.176 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001208/0.4519, allocations: 449.6 kB / 1.176 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002533/0.4521, allocations: 83.42 kB / 1.176 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of SimCode: time 2.394e-06/0.4522, allocations: 0 / 1.176 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of Templates: time 0.02422/0.4764, allocations: 13.32 MB / 1.189 GB, free: 10.8 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