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.413/2.413, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001999/0.001999, allocations: 180 kB / 0.4902 GB, free: 2.211 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.597/1.597, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.001033/0.001033, allocations: 102.9 kB / 0.9396 GB, free: 1.848 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003869/0.0003869, allocations: 13.86 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3308, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2532/0.584, allocations: 179.9 MB / 1.405 GB, free: 5.496 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002877/0.5843, allocations: 99.94 kB / 1.405 GB, free: 5.398 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.853/1.437, allocations: 92.1 MB / 1.495 GB, free: 150.6 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.365e-06/1.437, allocations: 0 / 1.495 GB, free: 150.6 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001053/1.438, allocations: 55.98 kB / 1.495 GB, free: 150.5 MB / 0.9167 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.005196/1.443, allocations: 2.238 MB / 1.497 GB, free: 148.2 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/1.443, allocations: 16.5 kB / 1.497 GB, free: 148.2 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004749/1.448, allocations: 0.7617 MB / 1.498 GB, free: 147.5 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004185/1.452, allocations: 1.532 MB / 1.499 GB, free: 145.9 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/1.452, allocations: 176.8 kB / 1.5 GB, free: 145.7 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006937/1.453, allocations: 232 kB / 1.5 GB, free: 145.5 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006761/1.459, allocations: 3.871 MB / 1.504 GB, free: 141.4 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.707e-05/1.459, allocations: 15.83 kB / 1.504 GB, free: 141.4 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002784/1.46, allocations: 108 kB / 1.504 GB, free: 141.3 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001905/1.46, allocations: 156.6 kB / 1.504 GB, free: 141.2 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005122/1.465, allocations: 3.27 MB / 1.507 GB, free: 137.9 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01664/1.482, allocations: 16.48 MB / 1.523 GB, free: 120 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002756/1.485, allocations: 2.132 MB / 1.525 GB, free: 117.7 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001361/1.485, allocations: 101.6 kB / 1.525 GB, free: 117.5 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/1.485, allocations: 39.12 kB / 1.525 GB, free: 117.5 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=72): time 3.646e-06/1.485, allocations: 0 / 1.525 GB, free: 117.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=76): time 0.005256/1.49, allocations: 3.458 MB / 1.529 GB, free: 113.9 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/1.49, allocations: 115.4 kB / 1.529 GB, free: 113.8 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/1.491, allocations: 0.9038 MB / 1.53 GB, free: 112.9 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.798e-05/1.491, allocations: 45.7 kB / 1.53 GB, free: 112.8 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005051/1.492, allocations: 1.095 MB / 1.531 GB, free: 111.7 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/1.492, allocations: 268.2 kB / 1.531 GB, free: 111.4 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.808e-05/1.492, allocations: 28 kB / 1.531 GB, free: 111.4 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001527/1.492, allocations: 418.7 kB / 1.532 GB, free: 111 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007645/1.493, allocations: 0.6128 MB / 1.532 GB, free: 110.4 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/1.494, allocations: 1.165 MB / 1.533 GB, free: 109 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009838/1.495, allocations: 0.8501 MB / 1.534 GB, free: 108.1 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/1.495, allocations: 4 kB / 1.534 GB, free: 108.1 MB / 0.9167 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002672/1.498, allocations: 1.991 MB / 1.536 GB, free: 106.1 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.64e-05/1.498, allocations: 16.03 kB / 1.536 GB, free: 106.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.172e-05/1.498, allocations: 20 kB / 1.536 GB, free: 106.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004102/1.498, allocations: 163.3 kB / 1.536 GB, free: 105.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/1.499, allocations: 343.5 kB / 1.537 GB, free: 105.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.81e-05/1.499, allocations: 39.86 kB / 1.537 GB, free: 105.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/1.5, allocations: 127.7 kB / 1.537 GB, free: 105.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.119e-05/1.5, allocations: 71.98 kB / 1.537 GB, free: 105.3 MB / 0.9167 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 () * Number of clocked 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.001831/1.502, allocations: 0.981 MB / 1.538 GB, free: 104.3 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001886/1.503, allocations: 114.6 kB / 1.538 GB, free: 104.2 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001764/1.504, allocations: 1.241 MB / 1.539 GB, free: 102.9 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/1.504, allocations: 8 kB / 1.539 GB, free: 102.9 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/1.504, allocations: 7.953 kB / 1.539 GB, free: 102.9 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/1.504, allocations: 3.984 kB / 1.539 GB, free: 102.9 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005167/1.509, allocations: 3.561 MB / 1.543 GB, free: 99.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/1.51, allocations: 4 kB / 1.543 GB, free: 99.26 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006094/1.51, allocations: 163.8 kB / 1.543 GB, free: 99.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003152/1.51, allocations: 143.5 kB / 1.543 GB, free: 98.95 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.614e-05/1.511, allocations: 28.02 kB / 1.543 GB, free: 98.92 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/1.511, allocations: 4 kB / 1.543 GB, free: 98.92 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.187e-06/1.511, allocations: 4 kB / 1.543 GB, free: 98.91 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/1.512, allocations: 1.6 MB / 1.544 GB, free: 97.2 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005148/1.513, allocations: 291.7 kB / 1.545 GB, free: 96.89 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/1.513, allocations: 16 kB / 1.545 GB, free: 96.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005624/1.513, allocations: 79.89 kB / 1.545 GB, free: 96.8 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/1.513, allocations: 64.38 kB / 1.545 GB, free: 96.74 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.223e-05/1.514, allocations: 24 kB / 1.545 GB, free: 96.71 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.000775/1.514, allocations: 0.6913 MB / 1.546 GB, free: 96.01 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.3e-07/1.514, allocations: 0 / 1.546 GB, free: 96.01 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001481/1.516, allocations: 416.1 kB / 1.546 GB, free: 95.61 MB / 0.9167 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.0002057/1.516, allocations: 127.9 kB / 1.546 GB, free: 95.47 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001852/1.518, allocations: 1.709 MB / 1.548 GB, free: 93.68 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.518, allocations: 1.875 kB / 1.548 GB, free: 93.68 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007149/1.519, allocations: 0.8742 MB / 1.549 GB, free: 92.72 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/1.52, allocations: 238.4 kB / 1.549 GB, free: 92.49 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006047/1.526, allocations: 4.605 MB / 1.553 GB, free: 87.82 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001416/1.527, allocations: 1.957 MB / 1.555 GB, free: 85.82 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001137/1.528, allocations: 449.5 kB / 1.556 GB, free: 85.38 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001855/1.528, allocations: 79.44 kB / 1.556 GB, free: 85.3 MB / 0.9167 GB Notification: Performance of SimCode: time 1.653e-06/1.528, allocations: 0 / 1.556 GB, free: 85.3 MB / 0.9167 GB Notification: Performance of Templates: time 0.02149/1.55, allocations: 12.47 MB / 1.568 GB, free: 72.97 MB / 0.9167 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