Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.379/2.379, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.001016/0.001016, allocations: 184 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.571/1.571, allocations: 221.3 MB / 0.7915 GB, free: 5.391 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.0009692/0.0009695, allocations: 83.89 kB / 0.9317 GB, free: 5.707 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.343e-05/3.383e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3277, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.143/1.471, allocations: 192.6 MB / 1.407 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004064/1.471, allocations: 93.75 kB / 1.407 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2938/1.765, allocations: 119 MB / 1.523 GB, free: 9.973 MB / 0.9792 GB Notification: Performance of FrontEnd: time 3.356e-06/1.765, allocations: 0 / 1.523 GB, free: 9.973 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0001628/1.765, allocations: 64 kB / 1.523 GB, free: 9.91 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.007886/1.773, allocations: 2.419 MB / 1.526 GB, free: 7.434 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/1.773, allocations: 8.031 kB / 1.526 GB, free: 7.426 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004643/1.778, allocations: 0.6951 MB / 1.526 GB, free: 6.727 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004153/1.782, allocations: 1.605 MB / 1.528 GB, free: 5.078 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002255/1.782, allocations: 217.8 kB / 1.528 GB, free: 4.863 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000711/1.783, allocations: 287.9 kB / 1.528 GB, free: 4.582 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009917/1.793, allocations: 4.533 MB / 1.533 GB, free: 15.86 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.85e-05/1.793, allocations: 11.88 kB / 1.533 GB, free: 15.85 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003615/1.793, allocations: 127.8 kB / 1.533 GB, free: 15.73 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002648/1.794, allocations: 180.7 kB / 1.533 GB, free: 15.55 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006971/1.801, allocations: 3.663 MB / 1.537 GB, free: 11.87 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03009/1.831, allocations: 23.06 MB / 1.559 GB, free: 2.668 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002877/1.834, allocations: 1.556 MB / 1.561 GB, free: 1.07 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001113/1.835, allocations: 0.8221 MB / 1.561 GB, free: 244 kB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000181/1.835, allocations: 101.7 kB / 1.562 GB, free: 124 kB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/1.835, allocations: 47.06 kB / 1.562 GB, free: 68 kB / 1.01 GB Notification: Performance of pre-optimization done (n=72): time 4.668e-06/1.835, allocations: 0 / 1.562 GB, free: 68 kB / 1.01 GB Notification: Performance of matching and sorting (n=75): time 0.004887/1.84, allocations: 2.904 MB / 1.564 GB, free: 13.12 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/1.84, allocations: 141 kB / 1.565 GB, free: 12.96 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/1.841, allocations: 0.9187 MB / 1.565 GB, free: 12.03 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 6.957e-05/1.842, allocations: 41.7 kB / 1.565 GB, free: 11.98 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008367/1.842, allocations: 1.2 MB / 1.567 GB, free: 10.77 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002744/1.843, allocations: 268.2 kB / 1.567 GB, free: 10.5 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.46e-05/1.843, allocations: 24 kB / 1.567 GB, free: 10.48 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0002284/1.843, allocations: 406.7 kB / 1.567 GB, free: 10.07 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001124/1.844, allocations: 0.76 MB / 1.568 GB, free: 9.309 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001526/1.846, allocations: 1.256 MB / 1.569 GB, free: 7.836 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001381/1.847, allocations: 0.9583 MB / 1.57 GB, free: 6.875 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.695e-06/1.847, allocations: 4 kB / 1.57 GB, free: 6.871 MB / 1.026 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003292/1.85, allocations: 2.104 MB / 1.572 GB, free: 4.758 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.002565/1.853, allocations: 5.499 MB / 1.578 GB, free: 14.83 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.855e-05/1.853, allocations: 16 kB / 1.578 GB, free: 14.82 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.859e-05/1.853, allocations: 20 kB / 1.578 GB, free: 14.8 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001634/1.855, allocations: 411.3 kB / 1.578 GB, free: 14.39 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.54e-05/1.855, allocations: 31.92 kB / 1.578 GB, free: 14.36 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/1.856, allocations: 263.2 kB / 1.578 GB, free: 14.11 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/1.856, allocations: 59.98 kB / 1.578 GB, free: 14.05 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/1.856, allocations: 4 kB / 1.578 GB, free: 14.04 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002742/1.859, allocations: 1.69 MB / 1.58 GB, free: 12.35 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-05/1.859, allocations: 19.95 kB / 1.58 GB, free: 12.33 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.869e-05/1.859, allocations: 24 kB / 1.58 GB, free: 12.3 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/1.861, allocations: 359.4 kB / 1.58 GB, free: 11.95 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.188e-05/1.861, allocations: 32.08 kB / 1.58 GB, free: 11.92 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/1.862, allocations: 179.4 kB / 1.581 GB, free: 11.75 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/1.862, allocations: 55.98 kB / 1.581 GB, free: 11.69 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003498/1.862, allocations: 182.1 kB / 1.581 GB, free: 11.51 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003168/1.863, allocations: 102.7 kB / 1.581 GB, free: 11.41 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002715/1.865, allocations: 1.475 MB / 1.582 GB, free: 9.922 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/1.865, allocations: 8 kB / 1.582 GB, free: 9.914 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/1.865, allocations: 240 / 1.582 GB, free: 9.914 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-05/1.865, allocations: 15.91 kB / 1.582 GB, free: 9.898 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01207/1.877, allocations: 7.23 MB / 1.589 GB, free: 2.457 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.45e-05/1.877, allocations: 8 kB / 1.59 GB, free: 2.449 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/1.879, allocations: 264.2 kB / 1.59 GB, free: 2.191 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.239e-05/1.879, allocations: 12 kB / 1.59 GB, free: 2.18 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.628e-05/1.879, allocations: 31.98 kB / 1.59 GB, free: 2.148 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.741e-05/1.879, allocations: 15.94 kB / 1.59 GB, free: 2.133 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.789e-06/1.879, allocations: 11.94 kB / 1.59 GB, free: 2.121 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003065/1.882, allocations: 2.379 MB / 1.592 GB, free: 15.39 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008995/1.883, allocations: 375.5 kB / 1.593 GB, free: 15 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002651/1.883, allocations: 27.98 kB / 1.593 GB, free: 14.98 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/1.884, allocations: 139.7 kB / 1.593 GB, free: 14.84 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001894/1.884, allocations: 71.77 kB / 1.593 GB, free: 14.77 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.126e-05/1.884, allocations: 28 kB / 1.593 GB, free: 14.74 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.001272/1.886, allocations: 0.6989 MB / 1.593 GB, free: 14.03 MB / 1.057 GB Notification: Performance of sort global known variables: time 4.61e-07/1.886, allocations: 0 / 1.593 GB, free: 14.03 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.003969/1.89, allocations: 0.832 MB / 1.594 GB, free: 13.2 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003867/1.89, allocations: 146.9 kB / 1.594 GB, free: 13.04 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.004578/1.895, allocations: 2.588 MB / 1.597 GB, free: 10.46 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/1.895, allocations: 0.9375 kB / 1.597 GB, free: 10.46 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.001107/1.896, allocations: 0.7161 MB / 1.598 GB, free: 9.742 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001588/1.897, allocations: 252.8 kB / 1.598 GB, free: 9.5 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009975/1.907, allocations: 3.862 MB / 1.602 GB, free: 5.488 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003495/1.911, allocations: 2.172 MB / 1.604 GB, free: 3.281 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.002713/1.914, allocations: 0.7851 MB / 1.605 GB, free: 2.492 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003974/1.914, allocations: 75.42 kB / 1.605 GB, free: 2.418 MB / 1.057 GB Notification: Performance of SimCode: time 1.382e-06/1.914, allocations: 3.938 kB / 1.605 GB, free: 2.414 MB / 1.057 GB Notification: Performance of Templates: time 0.03517/1.949, allocations: 16.21 MB / 1.62 GB, free: 2.316 MB / 1.073 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches