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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0009092/0.0009091, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009424/0.0009424, allocations: 177.3 kB / 15.95 MB, free: 216 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.453/1.453, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.703/2.703, allocations: 436.5 MB / 0.7104 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004991/0.0004991, allocations: 8 kB / 0.8708 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8204/0.8209, allocations: 153.7 MB / 1.021 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01588/0.8368, allocations: 14.08 MB / 1.035 GB, free: 2.969 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.009037/0.8459, allocations: 4.562 MB / 1.039 GB, free: 14.39 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001498/0.8474, allocations: 55.62 kB / 1.039 GB, free: 14.34 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0009012/0.8484, allocations: 282.2 kB / 1.039 GB, free: 14.06 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.002669/0.851, allocations: 0.6425 MB / 1.04 GB, free: 13.42 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00207/0.8531, allocations: 0.5761 MB / 1.041 GB, free: 12.84 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.003172/0.8563, allocations: 1.643 MB / 1.042 GB, free: 11.2 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008053/0.8644, allocations: 4.94 MB / 1.047 GB, free: 6.199 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002095/0.8665, allocations: 0.9422 MB / 1.048 GB, free: 5.254 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001731/0.8683, allocations: 1.004 MB / 1.049 GB, free: 4.246 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0003222/0.8686, allocations: 144 kB / 1.049 GB, free: 4.105 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00116/0.8698, allocations: 347.7 kB / 1.049 GB, free: 3.766 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001093/0.8709, allocations: 0.9823 MB / 1.05 GB, free: 2.781 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0006656/0.8715, allocations: 0.4888 MB / 1.051 GB, free: 2.285 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.004675/0.8762, allocations: 4.217 MB / 1.055 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.8763, allocations: 0 / 1.055 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.936e-06/0.8763, allocations: 0 / 1.055 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001139/0.8764, allocations: 0 / 1.055 GB, free: 14.06 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.00519/0.8816, allocations: 2.178 MB / 1.057 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.8816, allocations: 12.03 kB / 1.057 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00417/0.8858, allocations: 0.8633 MB / 1.058 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003586/0.8894, allocations: 1.477 MB / 1.059 GB, free: 9.414 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001405/0.8896, allocations: 172.8 kB / 1.059 GB, free: 9.242 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005147/0.8901, allocations: 235.9 kB / 1.06 GB, free: 9.012 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007907/0.898, allocations: 4.134 MB / 1.064 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.647e-05/0.8981, allocations: 11.84 kB / 1.064 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002711/0.8984, allocations: 95.98 kB / 1.064 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002297/0.8987, allocations: 172.5 kB / 1.064 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006392/0.9051, allocations: 3.624 MB / 1.068 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02078/0.9259, allocations: 16.53 MB / 1.084 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003197/0.9291, allocations: 2.308 MB / 1.086 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001405/0.9293, allocations: 89.67 kB / 1.086 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.9293, allocations: 43.06 kB / 1.086 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=72): time 3.828e-06/0.9294, allocations: 0 / 1.086 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of matching and sorting (n=76): time 0.005694/0.9351, allocations: 3.458 MB / 1.089 GB, free: 8.633 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.9352, allocations: 115.5 kB / 1.09 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/0.9364, allocations: 1.006 MB / 1.091 GB, free: 7.465 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.433e-05/0.9365, allocations: 41.7 kB / 1.091 GB, free: 7.418 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008877/0.9374, allocations: 1.099 MB / 1.092 GB, free: 6.301 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002169/0.9376, allocations: 280.1 kB / 1.092 GB, free: 6.023 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.143e-05/0.9377, allocations: 28 kB / 1.092 GB, free: 5.996 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001949/0.9379, allocations: 410.7 kB / 1.092 GB, free: 5.586 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008853/0.9388, allocations: 0.6246 MB / 1.093 GB, free: 4.961 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/0.94, allocations: 1.182 MB / 1.094 GB, free: 3.516 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.9412, allocations: 0.8579 MB / 1.095 GB, free: 2.66 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/0.9412, allocations: 4 kB / 1.095 GB, free: 2.656 MB / 0.8419 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003079/0.9443, allocations: 2.027 MB / 1.097 GB, free: 0.6094 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.871e-05/0.9444, allocations: 12 kB / 1.097 GB, free: 0.5977 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.411e-05/0.9444, allocations: 24.03 kB / 1.097 GB, free: 0.5742 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004486/0.9448, allocations: 159.3 kB / 1.097 GB, free: 416 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/0.9459, allocations: 351.4 kB / 1.097 GB, free: 64 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.563e-05/0.946, allocations: 47.75 kB / 1.097 GB, free: 16 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.947, allocations: 135.7 kB / 1.098 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.324e-05/0.9471, allocations: 68 kB / 1.098 GB, free: 15.82 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.001569/0.9487, allocations: 0.9771 MB / 1.099 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002819/0.949, allocations: 110.7 kB / 1.099 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002005/0.951, allocations: 1.241 MB / 1.1 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.951, allocations: 8 kB / 1.1 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.951, allocations: 8 kB / 1.1 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.951, allocations: 3.984 kB / 1.1 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005637/0.9567, allocations: 3.694 MB / 1.104 GB, free: 9.621 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.9567, allocations: 0 / 1.104 GB, free: 9.621 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006335/0.9574, allocations: 159.8 kB / 1.104 GB, free: 9.465 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003372/0.9577, allocations: 147.5 kB / 1.104 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.235e-05/0.9578, allocations: 12 kB / 1.104 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.027e-06/0.9578, allocations: 11.94 kB / 1.104 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.9578, allocations: 0 / 1.104 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001985/0.9598, allocations: 1.596 MB / 1.105 GB, free: 7.57 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005403/0.9604, allocations: 295.6 kB / 1.106 GB, free: 7.262 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.9605, allocations: 16 kB / 1.106 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006035/0.9611, allocations: 75.89 kB / 1.106 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.9612, allocations: 60.44 kB / 1.106 GB, free: 7.113 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.183e-05/0.9613, allocations: 24 kB / 1.106 GB, free: 7.09 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0009024/0.9622, allocations: 0.6874 MB / 1.107 GB, free: 6.391 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.473e-06/0.9622, allocations: 0 / 1.107 GB, free: 6.391 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00143/0.9636, allocations: 391.9 kB / 1.107 GB, free: 6.008 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.0002021/0.9638, allocations: 123.1 kB / 1.107 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002348/0.9662, allocations: 1.722 MB / 1.109 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.9662, allocations: 0 / 1.109 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0009697/0.9672, allocations: 0.8713 MB / 1.11 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.9684, allocations: 241.2 kB / 1.11 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0071/0.9755, allocations: 4.61 MB / 1.114 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001857/0.9774, allocations: 1.96 MB / 1.116 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001213/0.9786, allocations: 453.4 kB / 1.117 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/0.9788, allocations: 79.44 kB / 1.117 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of SimCode: time 2.414e-06/0.9788, allocations: 0 / 1.117 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of Templates: time 0.02464/1.003, allocations: 12.33 MB / 1.129 GB, free: 15.48 MB / 0.8887 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