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.001447/0.001447, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001915/0.001915, allocations: 197.2 kB / 16.79 MB, free: 6.809 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.405/1.405, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.789/2.789, allocations: 461.8 MB / 0.7348 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 70.03 kB / 0.899 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3657, allocations: 157.4 MB / 1.053 GB, free: 8.352 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02361/0.3894, allocations: 20.28 MB / 1.073 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01583/0.4053, allocations: 7.744 MB / 1.08 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002539/0.4078, allocations: 51.81 kB / 1.08 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00378/0.4117, allocations: 1.24 MB / 1.081 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003176/0.4149, allocations: 0.9458 MB / 1.082 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.005185/0.4201, allocations: 1.845 MB / 1.084 GB, free: 8.152 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.008276/0.4284, allocations: 6.441 MB / 1.09 GB, free: 1.699 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01529/0.4437, allocations: 6.87 MB / 1.097 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004018/0.4478, allocations: 1.554 MB / 1.099 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005301/0.4531, allocations: 2.251 MB / 1.101 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001352/0.4545, allocations: 292 kB / 1.101 GB, free: 6.656 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003153/0.4577, allocations: 0.9673 MB / 1.102 GB, free: 5.688 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.002666/0.4604, allocations: 1.528 MB / 1.104 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00374/0.4642, allocations: 1.564 MB / 1.105 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.005686/0.4699, allocations: 5.285 MB / 1.11 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.4699, allocations: 4 kB / 1.11 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4699, allocations: 0 / 1.11 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001503/0.4701, allocations: 0 / 1.11 GB, free: 13.29 MB / 0.8731 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.007708/0.4778, allocations: 3.044 MB / 1.113 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.4779, allocations: 15.91 kB / 1.113 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003823/0.4817, allocations: 0.7545 MB / 1.114 GB, free: 9.406 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003255/0.485, allocations: 1.544 MB / 1.115 GB, free: 7.82 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001676/0.4852, allocations: 214.2 kB / 1.116 GB, free: 7.609 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006017/0.4858, allocations: 292.3 kB / 1.116 GB, free: 7.324 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01017/0.496, allocations: 5.074 MB / 1.121 GB, free: 2.062 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.059e-05/0.4961, allocations: 7.938 kB / 1.121 GB, free: 2.055 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003354/0.4964, allocations: 124 kB / 1.121 GB, free: 1.934 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002533/0.4967, allocations: 216.6 kB / 1.121 GB, free: 1.719 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008017/0.5047, allocations: 4.216 MB / 1.125 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0295/0.5343, allocations: 23.08 MB / 1.148 GB, free: 4.262 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00314/0.5375, allocations: 1.731 MB / 1.15 GB, free: 2.496 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001835/0.5393, allocations: 1.134 MB / 1.151 GB, free: 1.348 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002497/0.5396, allocations: 105.7 kB / 1.151 GB, free: 1.227 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.947e-05/0.5397, allocations: 51.16 kB / 1.151 GB, free: 1.168 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=84): time 3.267e-06/0.5397, allocations: 0 / 1.151 GB, free: 1.168 MB / 0.9044 GB Notification: Performance of matching and sorting (n=87): time 0.006678/0.5464, allocations: 4.005 MB / 1.155 GB, free: 13.13 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.125e-05/0.5465, allocations: 141.2 kB / 1.155 GB, free: 12.96 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.5477, allocations: 0.8683 MB / 1.156 GB, free: 12.09 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.847e-05/0.5478, allocations: 37.7 kB / 1.156 GB, free: 12.04 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006417/0.5484, allocations: 1.162 MB / 1.157 GB, free: 10.86 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002931/0.5487, allocations: 311.6 kB / 1.157 GB, free: 10.55 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004417/0.5492, allocations: 274.6 kB / 1.157 GB, free: 10.28 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001896/0.5494, allocations: 410.7 kB / 1.158 GB, free: 9.871 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001298/0.5507, allocations: 0.8296 MB / 1.159 GB, free: 9.035 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001588/0.5523, allocations: 1.306 MB / 1.16 GB, free: 7.508 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002806/0.5551, allocations: 2.167 MB / 1.162 GB, free: 5.145 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-06/0.5551, allocations: 4 kB / 1.162 GB, free: 5.141 MB / 0.92 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003728/0.5588, allocations: 2.215 MB / 1.164 GB, free: 2.922 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.407e-05/0.5589, allocations: 12 kB / 1.164 GB, free: 2.91 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/0.5589, allocations: 16.16 kB / 1.164 GB, free: 2.895 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.207e-05/0.559, allocations: 20 kB / 1.164 GB, free: 2.875 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001689/0.5607, allocations: 411.3 kB / 1.165 GB, free: 2.473 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.759e-05/0.5607, allocations: 35.84 kB / 1.165 GB, free: 2.438 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/0.5622, allocations: 215.3 kB / 1.165 GB, free: 2.227 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/0.5623, allocations: 67.97 kB / 1.165 GB, free: 2.16 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002741/0.565, allocations: 1.673 MB / 1.167 GB, free: 492 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001491/0.5665, allocations: 1.194 MB / 1.168 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002439/0.569, allocations: 1.898 MB / 1.17 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.016e-05/0.569, allocations: 8.125 kB / 1.17 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003163/0.5722, allocations: 1.929 MB / 1.171 GB, free: 11 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.5722, allocations: 15.94 kB / 1.172 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.5723, allocations: 19.98 kB / 1.172 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.5723, allocations: 20 kB / 1.172 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/0.5736, allocations: 363.7 kB / 1.172 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.632e-05/0.5737, allocations: 35.92 kB / 1.172 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/0.5749, allocations: 167.6 kB / 1.172 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.5751, allocations: 63.98 kB / 1.172 GB, free: 10.32 MB / 0.9356 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.0004006/0.5755, allocations: 275.6 kB / 1.172 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002453/0.5757, allocations: 110.7 kB / 1.173 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002889/0.5786, allocations: 1.846 MB / 1.174 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.5786, allocations: 8 kB / 1.174 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.5787, allocations: 0 / 1.174 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.5787, allocations: 7.984 kB / 1.174 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01357/0.5923, allocations: 9.588 MB / 1.184 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.02e-05/0.5923, allocations: 12 kB / 1.184 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001256/0.5936, allocations: 311.4 kB / 1.184 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.098e-05/0.5936, allocations: 19.98 kB / 1.184 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.039e-05/0.5937, allocations: 28 kB / 1.184 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.439e-05/0.5937, allocations: 24.31 kB / 1.184 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.175e-05/0.5938, allocations: 19.94 kB / 1.184 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002865/0.5966, allocations: 2.394 MB / 1.186 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006086/0.5973, allocations: 375.6 kB / 1.187 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001871/0.5975, allocations: 43.83 kB / 1.187 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000983/0.5984, allocations: 147.7 kB / 1.187 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001964/0.5987, allocations: 91.61 kB / 1.187 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.16e-05/0.5987, allocations: 36 kB / 1.187 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008857/0.5996, allocations: 0.6161 MB / 1.188 GB, free: 9.953 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5996, allocations: 0 / 1.188 GB, free: 9.953 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002686/0.6023, allocations: 0.7539 MB / 1.188 GB, free: 9.199 MB / 0.9512 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.0002681/0.6026, allocations: 140.6 kB / 1.189 GB, free: 9.055 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004509/0.6071, allocations: 2.874 MB / 1.191 GB, free: 6.184 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/0.6072, allocations: 4.25 kB / 1.191 GB, free: 6.18 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001317/0.6085, allocations: 0.9117 MB / 1.192 GB, free: 5.27 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001893/0.6104, allocations: 293.5 kB / 1.193 GB, free: 4.984 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/0.6205, allocations: 6.656 MB / 1.199 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002093/0.6226, allocations: 2.199 MB / 1.201 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006634/0.6233, allocations: 99.41 kB / 1.201 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of SimCode: time 1.142e-06/0.6233, allocations: 0 / 1.201 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of Templates: time 0.0455/0.6688, allocations: 28.07 MB / 1.229 GB, free: 15.83 MB / 0.9981 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","/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