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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 104.5 kB / 16.35 MB, free: 5.824 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.001669/0.001669, allocations: 190.5 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.396/2.396, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 72.45 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3092, allocations: 153 MB / 1.027 GB, free: 2.094 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02327/0.3325, allocations: 20.44 MB / 1.047 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01355/0.3461, allocations: 7.541 MB / 1.054 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002512/0.3486, allocations: 63.81 kB / 1.054 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.004292/0.353, allocations: 1.349 MB / 1.055 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.002911/0.3559, allocations: 0.9762 MB / 1.056 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.005134/0.3611, allocations: 2.002 MB / 1.058 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.005163/0.3663, allocations: 4.328 MB / 1.063 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009184/0.3755, allocations: 6.153 MB / 1.069 GB, free: 7.066 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002971/0.3785, allocations: 1.839 MB / 1.07 GB, free: 5.223 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003734/0.3822, allocations: 2.205 MB / 1.073 GB, free: 3.012 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001214/0.3835, allocations: 428 kB / 1.073 GB, free: 2.594 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002372/0.3859, allocations: 0.9167 MB / 1.074 GB, free: 1.676 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.002343/0.3882, allocations: 1.653 MB / 1.075 GB, free: 20 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.5732/0.9614, allocations: 1.706 MB / 1.077 GB, free: 26.03 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.009331/0.9708, allocations: 6.163 MB / 1.083 GB, free: 25.6 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.876e-06/0.9708, allocations: 3.797 kB / 1.083 GB, free: 25.6 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.284e-06/0.9708, allocations: 0 / 1.083 GB, free: 25.6 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002222/0.9711, allocations: 0.9375 kB / 1.083 GB, free: 25.6 MB / 0.8419 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.01035/0.9814, allocations: 3.04 MB / 1.086 GB, free: 24.47 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.877e-05/0.9815, allocations: 11.22 kB / 1.086 GB, free: 24.47 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004013/0.9855, allocations: 0.6869 MB / 1.087 GB, free: 24.32 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004827/0.9904, allocations: 1.562 MB / 1.088 GB, free: 23.95 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002343/0.9906, allocations: 219.3 kB / 1.089 GB, free: 23.94 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001051/0.9917, allocations: 288.6 kB / 1.089 GB, free: 23.94 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01249/1.004, allocations: 5.044 MB / 1.094 GB, free: 23.42 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.769e-05/1.004, allocations: 12.62 kB / 1.094 GB, free: 23.42 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003959/1.005, allocations: 122.5 kB / 1.094 GB, free: 23.42 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002864/1.005, allocations: 210 kB / 1.094 GB, free: 23.41 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009909/1.015, allocations: 4.176 MB / 1.098 GB, free: 22.64 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02576/1.041, allocations: 22.86 MB / 1.12 GB, free: 4.664 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002797/1.044, allocations: 1.713 MB / 1.122 GB, free: 4.094 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001496/1.045, allocations: 1.13 MB / 1.123 GB, free: 3.688 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001514/1.045, allocations: 101.9 kB / 1.123 GB, free: 3.586 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/1.045, allocations: 48.28 kB / 1.123 GB, free: 3.539 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=84): time 2.595e-06/1.045, allocations: 0 / 1.123 GB, free: 3.539 MB / 0.8419 GB Notification: Performance of matching and sorting (n=87): time 0.006167/1.051, allocations: 3.988 MB / 1.127 GB, free: 1.547 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/1.052, allocations: 142.6 kB / 1.127 GB, free: 1.387 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/1.053, allocations: 0.8441 MB / 1.128 GB, free: 1.035 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 8.181e-05/1.053, allocations: 41.95 kB / 1.128 GB, free: 0.9922 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005145/1.053, allocations: 1.169 MB / 1.129 GB, free: 112 kB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002813/1.053, allocations: 313 kB / 1.13 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004395/1.054, allocations: 269.6 kB / 1.13 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001867/1.054, allocations: 403.5 kB / 1.13 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/1.055, allocations: 0.8023 MB / 1.131 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001663/1.057, allocations: 1.293 MB / 1.132 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00287/1.06, allocations: 2.144 MB / 1.134 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/1.06, allocations: 4.844 kB / 1.134 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003378/1.063, allocations: 2.167 MB / 1.137 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.082e-05/1.063, allocations: 10.19 kB / 1.137 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.3e-05/1.063, allocations: 14.12 kB / 1.137 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.482e-05/1.063, allocations: 21.38 kB / 1.137 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001612/1.065, allocations: 409.4 kB / 1.137 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.652e-05/1.065, allocations: 35.98 kB / 1.137 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/1.066, allocations: 194.2 kB / 1.137 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/1.066, allocations: 61.98 kB / 1.137 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00309/1.069, allocations: 1.66 MB / 1.139 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001366/1.071, allocations: 1.173 MB / 1.14 GB, free: 9.961 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002326/1.073, allocations: 1.87 MB / 1.142 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.039e-05/1.073, allocations: 5.281 kB / 1.142 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.002852/1.076, allocations: 1.889 MB / 1.144 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/1.076, allocations: 11.62 kB / 1.144 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/1.076, allocations: 15.56 kB / 1.144 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/1.076, allocations: 22.72 kB / 1.144 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/1.077, allocations: 356.3 kB / 1.144 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.015e-05/1.077, allocations: 32.83 kB / 1.144 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/1.079, allocations: 164.3 kB / 1.144 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.654e-05/1.079, allocations: 59.45 kB / 1.144 GB, free: 7.59 MB / 0.8575 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000379/1.079, allocations: 271.5 kB / 1.145 GB, free: 7.359 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002548/1.079, allocations: 100.7 kB / 1.145 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002821/1.082, allocations: 1.848 MB / 1.147 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/1.082, allocations: 13.08 kB / 1.147 GB, free: 6.234 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/1.082, allocations: 1.594 kB / 1.147 GB, free: 6.234 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/1.082, allocations: 9.641 kB / 1.147 GB, free: 6.227 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01281/1.095, allocations: 9.574 MB / 1.156 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/1.095, allocations: 10.81 kB / 1.156 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/1.096, allocations: 313.2 kB / 1.156 GB, free: 424 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.539e-05/1.096, allocations: 16.31 kB / 1.156 GB, free: 424 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.733e-05/1.096, allocations: 28.38 kB / 1.156 GB, free: 412 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.791e-05/1.096, allocations: 23.36 kB / 1.156 GB, free: 408 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.189e-05/1.096, allocations: 22.12 kB / 1.156 GB, free: 404 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002639/1.099, allocations: 2.397 MB / 1.159 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007708/1.1, allocations: 371.4 kB / 1.159 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001616/1.1, allocations: 34.02 kB / 1.159 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008841/1.101, allocations: 132 kB / 1.159 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001859/1.101, allocations: 93.36 kB / 1.159 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.786e-05/1.101, allocations: 42.16 kB / 1.159 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007316/1.102, allocations: 0.5912 MB / 1.16 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.094e-06/1.102, allocations: 0 / 1.16 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002803/1.105, allocations: 0.7462 MB / 1.161 GB, free: 13.93 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (90): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003308/1.105, allocations: 149.9 kB / 1.161 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.004637/1.11, allocations: 2.86 MB / 1.164 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/1.11, allocations: 0 / 1.164 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001166/1.111, allocations: 0.9139 MB / 1.164 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001936/1.113, allocations: 308.2 kB / 1.165 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009035/1.122, allocations: 4.985 MB / 1.17 GB, free: 7.23 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00238/1.124, allocations: 2.131 MB / 1.172 GB, free: 5.062 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.00197/1.126, allocations: 0.7345 MB / 1.172 GB, free: 4.324 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003838/1.127, allocations: 79.42 kB / 1.172 GB, free: 4.246 MB / 0.8731 GB Notification: Performance of SimCode: time 1.242e-06/1.127, allocations: 4 kB / 1.172 GB, free: 4.242 MB / 0.8731 GB Notification: Performance of Templates: time 0.03116/1.158, allocations: 17.35 MB / 1.189 GB, free: 3.109 MB / 0.8887 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 -s gbode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches