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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.341/2.341, allocations: 390.5 MB / 398 MB, free: 10.99 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 171.6 kB / 491.2 MB, free: 1.578 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.834/1.834, allocations: 221.5 MB / 0.7868 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 91.53 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.783e-05/1.786e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3218, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.133/1.455, allocations: 179.2 MB / 1.387 GB, free: 16.38 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/1.455, allocations: 96.69 kB / 1.387 GB, free: 16.37 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2135/1.669, allocations: 91.36 MB / 1.477 GB, free: 7.219 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.763e-06/1.669, allocations: 0 / 1.477 GB, free: 7.219 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001812/1.669, allocations: 59.92 kB / 1.477 GB, free: 7.16 MB / 0.8855 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.007004/1.676, allocations: 2.104 MB / 1.479 GB, free: 5.145 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/1.676, allocations: 12.03 kB / 1.479 GB, free: 5.133 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00497/1.681, allocations: 0.7571 MB / 1.479 GB, free: 4.375 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00382/1.685, allocations: 1.535 MB / 1.481 GB, free: 3.16 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.743e-05/1.685, allocations: 76 kB / 1.481 GB, free: 3.086 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004885/1.686, allocations: 136 kB / 1.481 GB, free: 2.953 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005231/1.691, allocations: 2.69 MB / 1.484 GB, free: 1.199 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006231/1.697, allocations: 3.472 MB / 1.487 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.755e-05/1.697, allocations: 7.938 kB / 1.487 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002277/1.698, allocations: 4 kB / 1.487 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000221/1.698, allocations: 156.5 kB / 1.487 GB, free: 13.38 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02206/1.72, allocations: 15.81 MB / 1.503 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003359/1.723, allocations: 2.077 MB / 1.505 GB, free: 9.918 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000836/1.724, allocations: 0.5702 MB / 1.505 GB, free: 9.34 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001572/1.724, allocations: 93.66 kB / 1.505 GB, free: 9.23 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/1.724, allocations: 39.12 kB / 1.506 GB, free: 9.184 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=72): time 2.555e-06/1.724, allocations: 0 / 1.506 GB, free: 9.184 MB / 0.9167 GB Notification: Performance of matching and sorting (n=76): time 0.004794/1.729, allocations: 2.597 MB / 1.508 GB, free: 6.555 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.358e-05/1.729, allocations: 111.6 kB / 1.508 GB, free: 6.418 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/1.73, allocations: 0.8324 MB / 1.509 GB, free: 5.582 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.833e-05/1.73, allocations: 25.7 kB / 1.509 GB, free: 5.551 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007805/1.731, allocations: 1.095 MB / 1.51 GB, free: 4.438 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002382/1.732, allocations: 268.3 kB / 1.51 GB, free: 4.172 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.226e-05/1.732, allocations: 0 / 1.51 GB, free: 4.172 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002434/1.732, allocations: 414.7 kB / 1.511 GB, free: 3.758 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007624/1.733, allocations: 0.5583 MB / 1.511 GB, free: 3.199 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/1.734, allocations: 1.092 MB / 1.512 GB, free: 1.863 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001563/1.735, allocations: 0.9332 MB / 1.513 GB, free: 0.9258 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.677e-05/1.735, allocations: 4 kB / 1.513 GB, free: 0.9219 MB / 0.9167 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003265/1.739, allocations: 1.916 MB / 1.515 GB, free: 14.98 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.351e-05/1.739, allocations: 17.36 kB / 1.515 GB, free: 14.97 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.347e-05/1.739, allocations: 20 kB / 1.515 GB, free: 14.95 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004316/1.739, allocations: 167.8 kB / 1.515 GB, free: 14.77 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/1.74, allocations: 335.5 kB / 1.516 GB, free: 14.45 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.215e-05/1.74, allocations: 39.86 kB / 1.516 GB, free: 14.41 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/1.741, allocations: 111.7 kB / 1.516 GB, free: 14.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/1.742, allocations: 68 kB / 1.516 GB, free: 14.23 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 161 * 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.0002306/1.742, allocations: 153.4 kB / 1.516 GB, free: 14.07 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000213/1.742, allocations: 106.7 kB / 1.516 GB, free: 13.97 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002242/1.744, allocations: 1.182 MB / 1.517 GB, free: 12.76 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/1.744, allocations: 15.88 kB / 1.517 GB, free: 12.75 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/1.744, allocations: 0 / 1.517 GB, free: 12.75 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/1.744, allocations: 11.94 kB / 1.517 GB, free: 12.73 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005747/1.75, allocations: 3.194 MB / 1.52 GB, free: 9.41 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.932e-06/1.75, allocations: 0 / 1.52 GB, free: 9.41 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000643/1.751, allocations: 159.8 kB / 1.521 GB, free: 9.254 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003518/1.751, allocations: 135.3 kB / 1.521 GB, free: 9.109 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.691e-05/1.751, allocations: 8 kB / 1.521 GB, free: 9.102 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.073e-05/1.751, allocations: 16.12 kB / 1.521 GB, free: 9.086 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/1.751, allocations: 0 / 1.521 GB, free: 9.086 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002093/1.753, allocations: 1.552 MB / 1.522 GB, free: 7.414 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005462/1.754, allocations: 291.7 kB / 1.522 GB, free: 7.109 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/1.754, allocations: 4 kB / 1.522 GB, free: 7.105 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006042/1.755, allocations: 63.89 kB / 1.523 GB, free: 7.043 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/1.755, allocations: 60.44 kB / 1.523 GB, free: 6.984 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.574e-05/1.755, allocations: 20 kB / 1.523 GB, free: 6.965 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001031/1.756, allocations: 0.6205 MB / 1.523 GB, free: 6.332 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.5e-07/1.756, allocations: 0 / 1.523 GB, free: 6.332 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001955/1.758, allocations: 375.9 kB / 1.524 GB, free: 5.965 MB / 0.9323 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 () * 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.0002935/1.758, allocations: 127.1 kB / 1.524 GB, free: 5.832 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002135/1.76, allocations: 1.573 MB / 1.525 GB, free: 4.18 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/1.76, allocations: 4 kB / 1.525 GB, free: 4.176 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.000922/1.761, allocations: 0.8228 MB / 1.526 GB, free: 3.266 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/1.762, allocations: 216.4 kB / 1.526 GB, free: 3.055 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005884/1.768, allocations: 2.988 MB / 1.529 GB, free: 4 kB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001992/1.77, allocations: 1.957 MB / 1.531 GB, free: 14.01 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001462/1.772, allocations: 433.3 kB / 1.532 GB, free: 13.58 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002456/1.772, allocations: 79.42 kB / 1.532 GB, free: 13.5 MB / 0.948 GB Notification: Performance of SimCode: time 2.254e-06/1.772, allocations: 7.875 kB / 1.532 GB, free: 13.5 MB / 0.948 GB Notification: Performance of Templates: time 0.02448/1.797, allocations: 11.75 MB / 1.543 GB, free: 1.871 MB / 0.948 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","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches