Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.0011/0.001099, allocations: 91.38 kB / 15.06 MB, free: 1.098 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.001227/0.001226, allocations: 172.7 kB / 15.95 MB, free: 208 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.518/1.518, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.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.843/2.843, allocations: 437.7 MB / 0.7117 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004047/0.0004048, allocations: 12 kB / 0.8722 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8301/0.8306, allocations: 153.8 MB / 1.022 GB, free: 76 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01716/0.8478, allocations: 14.53 MB / 1.037 GB, free: 1.508 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.009154/0.857, allocations: 4.577 MB / 1.041 GB, free: 12.92 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001629/0.8587, allocations: 51.69 kB / 1.041 GB, free: 12.87 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0008527/0.8596, allocations: 246.1 kB / 1.041 GB, free: 12.62 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001901/0.8615, allocations: 0.5831 MB / 1.042 GB, free: 12.04 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001627/0.8631, allocations: 0.4949 MB / 1.042 GB, free: 11.54 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.004621/0.8678, allocations: 4.113 MB / 1.046 GB, free: 7.418 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007587/0.8754, allocations: 4.949 MB / 1.051 GB, free: 2.418 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002095/0.8775, allocations: 1.113 MB / 1.052 GB, free: 1.301 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002272/0.8798, allocations: 1.472 MB / 1.054 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0002767/0.8801, allocations: 140 kB / 1.054 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001082/0.8811, allocations: 395.6 kB / 1.054 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.00113/0.8823, allocations: 1.072 MB / 1.055 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000617/0.8829, allocations: 488.5 kB / 1.056 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.004444/0.8874, allocations: 4.264 MB / 1.06 GB, free: 9.469 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 9.417e-06/0.8874, allocations: 3.984 kB / 1.06 GB, free: 9.465 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.983e-06/0.8874, allocations: 0 / 1.06 GB, free: 9.465 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001252/0.8875, allocations: 0 / 1.06 GB, free: 9.465 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: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.004714/0.8923, allocations: 2.202 MB / 1.062 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.8923, allocations: 12.52 kB / 1.062 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004017/0.8963, allocations: 0.832 MB / 1.063 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00279/0.8992, allocations: 1.481 MB / 1.064 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001546/0.8993, allocations: 176.8 kB / 1.065 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004468/0.8998, allocations: 235.9 kB / 1.065 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007805/0.9076, allocations: 4.138 MB / 1.069 GB, free: 148 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.672e-05/0.9077, allocations: 7.938 kB / 1.069 GB, free: 140 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002807/0.908, allocations: 104 kB / 1.069 GB, free: 36 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002294/0.9082, allocations: 168.5 kB / 1.069 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006513/0.9147, allocations: 3.628 MB / 1.073 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01988/0.9347, allocations: 16.53 MB / 1.089 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003248/0.938, allocations: 2.306 MB / 1.091 GB, free: 7.754 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009506/0.9389, allocations: 0.5858 MB / 1.092 GB, free: 7.16 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001316/0.9391, allocations: 105.6 kB / 1.092 GB, free: 7.039 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.9391, allocations: 39.12 kB / 1.092 GB, free: 6.992 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=72): time 2.485e-06/0.9391, allocations: 0 / 1.092 GB, free: 6.992 MB / 0.8419 GB Notification: Performance of matching and sorting (n=76): time 0.006044/0.9452, allocations: 3.448 MB / 1.095 GB, free: 3.441 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.295e-05/0.9453, allocations: 111.5 kB / 1.095 GB, free: 3.309 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001663/0.947, allocations: 1.014 MB / 1.096 GB, free: 2.27 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.625e-05/0.9471, allocations: 37.7 kB / 1.096 GB, free: 2.227 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008958/0.948, allocations: 1.103 MB / 1.097 GB, free: 1.105 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002904/0.9483, allocations: 276.1 kB / 1.098 GB, free: 0.832 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.318e-05/0.9483, allocations: 27.94 kB / 1.098 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002581/0.9486, allocations: 410.7 kB / 1.098 GB, free: 404 kB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001114/0.9497, allocations: 0.6128 MB / 1.099 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001467/0.9512, allocations: 1.189 MB / 1.1 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.9526, allocations: 0.854 MB / 1.101 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.506e-05/0.9526, allocations: 8 kB / 1.101 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003496/0.9561, allocations: 2.014 MB / 1.103 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.283e-05/0.9561, allocations: 12 kB / 1.103 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.311e-05/0.9562, allocations: 20 kB / 1.103 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004298/0.9566, allocations: 167.9 kB / 1.103 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.9577, allocations: 355.3 kB / 1.103 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.905e-05/0.9578, allocations: 39.86 kB / 1.103 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/0.9588, allocations: 131.7 kB / 1.103 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/0.959, allocations: 71.98 kB / 1.103 GB, free: 10.64 MB / 0.8575 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001859/0.9609, allocations: 0.9732 MB / 1.104 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002824/0.9611, allocations: 110.7 kB / 1.104 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002254/0.9634, allocations: 1.234 MB / 1.106 GB, free: 8.285 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.9634, allocations: 8 kB / 1.106 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/0.9634, allocations: 3.938 kB / 1.106 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.9635, allocations: 7.984 kB / 1.106 GB, free: 8.266 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00648/0.9699, allocations: 3.815 MB / 1.109 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.397e-06/0.97, allocations: 7.953 kB / 1.109 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005988/0.9706, allocations: 163.7 kB / 1.109 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003639/0.971, allocations: 139.6 kB / 1.11 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-05/0.971, allocations: 20 kB / 1.11 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-05/0.9711, allocations: 11.98 kB / 1.11 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.9711, allocations: 7.875 kB / 1.11 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002071/0.9731, allocations: 1.468 MB / 1.111 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005308/0.9737, allocations: 287.7 kB / 1.111 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/0.9739, allocations: 20 kB / 1.111 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006119/0.9745, allocations: 71.89 kB / 1.111 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/0.9747, allocations: 68.38 kB / 1.112 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-05/0.9747, allocations: 20 kB / 1.112 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001044/0.9758, allocations: 0.6874 MB / 1.112 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.71e-07/0.9758, allocations: 0 / 1.112 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001616/0.9774, allocations: 388 kB / 1.113 GB, free: 0.8672 MB / 0.8575 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002252/0.9776, allocations: 131.1 kB / 1.113 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002556/0.9802, allocations: 1.71 MB / 1.114 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.9802, allocations: 0 / 1.114 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.9812, allocations: 0.8636 MB / 1.115 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001381/0.9826, allocations: 246.2 kB / 1.115 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007555/0.9902, allocations: 4.641 MB / 1.12 GB, free: 9.047 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002072/0.9923, allocations: 1.924 MB / 1.122 GB, free: 7.09 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001251/0.9936, allocations: 449.6 kB / 1.122 GB, free: 6.648 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002534/0.9938, allocations: 83.42 kB / 1.122 GB, free: 6.566 MB / 0.8731 GB Notification: Performance of SimCode: time 1.543e-06/0.9938, allocations: 0 / 1.122 GB, free: 6.566 MB / 0.8731 GB Notification: Performance of Templates: time 0.02576/1.02, allocations: 12.43 MB / 1.135 GB, free: 10.27 MB / 0.8887 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches