Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.439/1.439, allocations: 249.5 MB / 257 MB, free: 7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001184/0.001184, allocations: 191.4 kB / 316.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.617/1.617, allocations: 205.3 MB / 0.5671 GB, free: 15.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009048/0.0009048, allocations: 89.12 kB / 0.6714 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.824e-05/1.825e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1964, allocations: 106.3 MB / 0.8852 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7857/0.9821, allocations: 174.3 MB / 1.055 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003449/0.9826, allocations: 98.05 kB / 1.056 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2684/1.251, allocations: 111.4 MB / 1.164 GB, free: 7.551 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.643e-06/1.251, allocations: 0 / 1.164 GB, free: 7.551 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001973/1.251, allocations: 67.92 kB / 1.164 GB, free: 7.484 MB / 0.7761 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.009091/1.26, allocations: 2.415 MB / 1.167 GB, free: 5.012 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/1.26, allocations: 8.031 kB / 1.167 GB, free: 5.004 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004902/1.265, allocations: 0.6913 MB / 1.167 GB, free: 4.309 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004153/1.27, allocations: 1.616 MB / 1.169 GB, free: 2.648 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001647/1.27, allocations: 92 kB / 1.169 GB, free: 2.559 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001376/1.271, allocations: 168 kB / 1.169 GB, free: 2.395 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008263/1.279, allocations: 3.21 MB / 1.172 GB, free: 15.18 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0132/1.293, allocations: 4.119 MB / 1.176 GB, free: 10.88 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001552/1.293, allocations: 11.84 kB / 1.176 GB, free: 10.86 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001094/1.294, allocations: 4 kB / 1.176 GB, free: 10.86 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000291/1.294, allocations: 180.7 kB / 1.177 GB, free: 10.68 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03016/1.324, allocations: 22.14 MB / 1.198 GB, free: 2.426 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002617/1.327, allocations: 1.526 MB / 1.2 GB, free: 0.8594 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0016/1.329, allocations: 0.9992 MB / 1.201 GB, free: 15.85 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001565/1.329, allocations: 97.66 kB / 1.201 GB, free: 15.74 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/1.329, allocations: 43.12 kB / 1.201 GB, free: 15.69 MB / 0.823 GB Notification: Performance of pre-optimization done (n=72): time 3.667e-06/1.329, allocations: 0 / 1.201 GB, free: 15.69 MB / 0.823 GB Notification: Performance of matching and sorting (n=75): time 0.006033/1.335, allocations: 2.92 MB / 1.204 GB, free: 12.73 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.994e-05/1.335, allocations: 141 kB / 1.204 GB, free: 12.56 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/1.336, allocations: 0.8124 MB / 1.205 GB, free: 11.74 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.023e-05/1.336, allocations: 25.7 kB / 1.205 GB, free: 11.71 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007686/1.337, allocations: 1.204 MB / 1.206 GB, free: 10.48 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002738/1.337, allocations: 256.2 kB / 1.206 GB, free: 10.23 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.287e-05/1.338, allocations: 3.938 kB / 1.206 GB, free: 10.23 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002/1.338, allocations: 398.7 kB / 1.206 GB, free: 9.828 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009921/1.339, allocations: 0.7522 MB / 1.207 GB, free: 9.074 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001327/1.34, allocations: 1.23 MB / 1.208 GB, free: 7.617 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001572/1.342, allocations: 1.05 MB / 1.209 GB, free: 6.566 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/1.342, allocations: 7.938 kB / 1.209 GB, free: 6.559 MB / 0.823 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003139/1.345, allocations: 2.092 MB / 1.211 GB, free: 4.457 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.002129/1.347, allocations: 5.491 MB / 1.217 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.566e-05/1.347, allocations: 16 kB / 1.217 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.243e-05/1.347, allocations: 20 kB / 1.217 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001599/1.349, allocations: 423.2 kB / 1.217 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.532e-05/1.349, allocations: 27.92 kB / 1.217 GB, free: 14.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/1.35, allocations: 235.2 kB / 1.217 GB, free: 13.83 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/1.35, allocations: 59.98 kB / 1.217 GB, free: 13.77 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/1.35, allocations: 4 kB / 1.217 GB, free: 13.77 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002421/1.353, allocations: 1.663 MB / 1.219 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/1.353, allocations: 16 kB / 1.219 GB, free: 12.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/1.353, allocations: 27.98 kB / 1.219 GB, free: 12.06 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/1.354, allocations: 363.4 kB / 1.22 GB, free: 11.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.009e-05/1.354, allocations: 35.81 kB / 1.22 GB, free: 11.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/1.355, allocations: 151.7 kB / 1.22 GB, free: 11.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/1.355, allocations: 55.98 kB / 1.22 GB, free: 11.47 MB / 0.8386 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.0002479/1.355, allocations: 144.5 kB / 1.22 GB, free: 11.32 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002624/1.356, allocations: 90.88 kB / 1.22 GB, free: 11.23 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002316/1.358, allocations: 1.487 MB / 1.221 GB, free: 9.727 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/1.358, allocations: 8 kB / 1.221 GB, free: 9.719 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/1.358, allocations: 7.953 kB / 1.221 GB, free: 9.711 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/1.358, allocations: 3.984 kB / 1.221 GB, free: 9.707 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0102/1.368, allocations: 6.503 MB / 1.228 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.965e-05/1.368, allocations: 12 kB / 1.228 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/1.369, allocations: 268.1 kB / 1.228 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.94e-05/1.369, allocations: 20 kB / 1.228 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.018e-05/1.37, allocations: 12 kB / 1.228 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-05/1.37, allocations: 15.94 kB / 1.228 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.057e-05/1.37, allocations: 11.94 kB / 1.228 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002844/1.372, allocations: 2.405 MB / 1.23 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007495/1.373, allocations: 371.6 kB / 1.231 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002696/1.374, allocations: 12 kB / 1.231 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/1.375, allocations: 123.8 kB / 1.231 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/1.375, allocations: 79.7 kB / 1.231 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.627e-05/1.375, allocations: 28 kB / 1.231 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0008703/1.376, allocations: 0.6045 MB / 1.232 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.61e-07/1.376, allocations: 3.938 kB / 1.232 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003308/1.379, allocations: 0.7578 MB / 1.232 GB, free: 13.94 MB / 0.8542 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.0002812/1.379, allocations: 144.3 kB / 1.233 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003505/1.383, allocations: 2.523 MB / 1.235 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/1.383, allocations: 4 kB / 1.235 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0008831/1.384, allocations: 0.7007 MB / 1.236 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/1.385, allocations: 237.6 kB / 1.236 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/1.396, allocations: 3.831 MB / 1.24 GB, free: 6.355 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004363/1.4, allocations: 2.161 MB / 1.242 GB, free: 4.16 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002755/1.403, allocations: 0.7767 MB / 1.243 GB, free: 3.379 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004028/1.403, allocations: 71.42 kB / 1.243 GB, free: 3.312 MB / 0.8542 GB Notification: Performance of SimCode: time 2.064e-06/1.403, allocations: 0 / 1.243 GB, free: 3.312 MB / 0.8542 GB Notification: Performance of Templates: time 0.02828/1.432, allocations: 15.23 MB / 1.257 GB, free: 4.18 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches