Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001789/0.001797, allocations: 102.5 kB / 16.41 MB, free: 6.488 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.001889/0.001889, allocations: 189.7 kB / 17.34 MB, free: 5.727 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.243/2.243, allocations: 390.3 MB / 0.6655 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 71.88 kB / 0.9515 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8309/0.8323, allocations: 140.4 MB / 1.089 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02614/0.8585, allocations: 20.43 MB / 1.109 GB, free: 7.898 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01441/0.8729, allocations: 7.686 MB / 1.116 GB, free: 2.688 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002726/0.8757, allocations: 61.81 kB / 1.116 GB, free: 2.676 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004086/0.8799, allocations: 1.356 MB / 1.117 GB, free: 1.852 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003628/0.8835, allocations: 1 MB / 1.118 GB, free: 1.277 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.006419/0.8899, allocations: 2.003 MB / 1.12 GB, free: 176 kB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.007515/0.8975, allocations: 4.322 MB / 1.125 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0104/0.9079, allocations: 6.154 MB / 1.131 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004086/0.9121, allocations: 1.861 MB / 1.132 GB, free: 11.02 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004848/0.9169, allocations: 2.204 MB / 1.135 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.002002/0.919, allocations: 427.5 kB / 1.135 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003962/0.923, allocations: 0.9446 MB / 1.136 GB, free: 9.875 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.004338/0.9273, allocations: 1.655 MB / 1.138 GB, free: 9.199 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.006031/0.9334, allocations: 1.719 MB / 1.139 GB, free: 8.074 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01386/0.9473, allocations: 6.184 MB / 1.145 GB, free: 6.16 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.9473, allocations: 4 kB / 1.145 GB, free: 6.156 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.054e-06/0.9474, allocations: 5.156 kB / 1.145 GB, free: 6.152 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0002511/0.9476, allocations: 0 / 1.145 GB, free: 6.152 MB / 0.8887 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.01289/0.9605, allocations: 3.042 MB / 1.148 GB, free: 4.438 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.9606, allocations: 9.156 kB / 1.148 GB, free: 4.438 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00514/0.9657, allocations: 0.7486 MB / 1.149 GB, free: 4.074 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004942/0.9707, allocations: 1.578 MB / 1.151 GB, free: 3.039 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003512/0.9711, allocations: 223.5 kB / 1.151 GB, free: 2.934 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001772/0.9729, allocations: 282.3 kB / 1.151 GB, free: 2.844 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01489/0.9878, allocations: 5.079 MB / 1.156 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001184/0.9879, allocations: 11.91 kB / 1.156 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008475/0.9888, allocations: 119.7 kB / 1.156 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000351/0.9892, allocations: 214.6 kB / 1.156 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01073/0.9999, allocations: 4.222 MB / 1.16 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03123/1.031, allocations: 22.93 MB / 1.183 GB, free: 8.449 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003312/1.035, allocations: 1.734 MB / 1.184 GB, free: 7.492 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001751/1.036, allocations: 1.147 MB / 1.186 GB, free: 6.875 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000171/1.037, allocations: 103.5 kB / 1.186 GB, free: 6.77 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.115e-05/1.037, allocations: 47.28 kB / 1.186 GB, free: 6.719 MB / 0.92 GB Notification: Performance of pre-optimization done (n=84): time 3.015e-06/1.037, allocations: 0 / 1.186 GB, free: 6.719 MB / 0.92 GB Notification: Performance of matching and sorting (n=87): time 0.006909/1.043, allocations: 4.009 MB / 1.19 GB, free: 4.145 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.409e-05/1.044, allocations: 141.2 kB / 1.19 GB, free: 3.977 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/1.045, allocations: 0.8643 MB / 1.191 GB, free: 3.102 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001986/1.045, allocations: 41.7 kB / 1.191 GB, free: 3.055 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008202/1.046, allocations: 1.166 MB / 1.192 GB, free: 1.871 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003921/1.046, allocations: 311.6 kB / 1.192 GB, free: 1.562 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004659/1.047, allocations: 270.6 kB / 1.192 GB, free: 1.293 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001741/1.047, allocations: 414.7 kB / 1.193 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001324/1.048, allocations: 0.8179 MB / 1.194 GB, free: 56 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001665/1.05, allocations: 1.314 MB / 1.195 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002891/1.053, allocations: 2.163 MB / 1.197 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.854e-06/1.053, allocations: 8 kB / 1.197 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003553/1.056, allocations: 2.214 MB / 1.199 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/1.057, allocations: 12 kB / 1.199 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/1.057, allocations: 12 kB / 1.199 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.307e-05/1.057, allocations: 20 kB / 1.199 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00168/1.058, allocations: 423.7 kB / 1.2 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.125e-05/1.058, allocations: 27.92 kB / 1.2 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/1.06, allocations: 211.3 kB / 1.2 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/1.06, allocations: 55.98 kB / 1.2 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002996/1.063, allocations: 1.685 MB / 1.202 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00142/1.064, allocations: 1.186 MB / 1.203 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002419/1.067, allocations: 1.906 MB / 1.205 GB, free: 3.961 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.218e-05/1.067, allocations: 11.88 kB / 1.205 GB, free: 3.949 MB / 0.9356 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003189/1.07, allocations: 1.921 MB / 1.206 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/1.07, allocations: 13.16 kB / 1.206 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/1.07, allocations: 16 kB / 1.206 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/1.07, allocations: 27.94 kB / 1.206 GB, free: 1.965 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/1.072, allocations: 363.4 kB / 1.207 GB, free: 1.609 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.004e-05/1.072, allocations: 35.86 kB / 1.207 GB, free: 1.574 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/1.073, allocations: 175.3 kB / 1.207 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-05/1.073, allocations: 59.98 kB / 1.207 GB, free: 1.344 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.0003882/1.074, allocations: 263.8 kB / 1.207 GB, free: 1.078 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003387/1.074, allocations: 106.7 kB / 1.207 GB, free: 0.9727 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003117/1.077, allocations: 1.862 MB / 1.209 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/1.077, allocations: 8 kB / 1.209 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/1.077, allocations: 3.984 kB / 1.209 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/1.077, allocations: 7.984 kB / 1.209 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01387/1.091, allocations: 9.58 MB / 1.219 GB, free: 5.242 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-05/1.091, allocations: 12 kB / 1.219 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001297/1.092, allocations: 316.2 kB / 1.219 GB, free: 4.922 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.925e-05/1.092, allocations: 20 kB / 1.219 GB, free: 4.902 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.952e-05/1.093, allocations: 28 kB / 1.219 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.962e-05/1.093, allocations: 27.86 kB / 1.219 GB, free: 4.848 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.088e-05/1.093, allocations: 15.94 kB / 1.219 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002915/1.096, allocations: 2.398 MB / 1.221 GB, free: 2.273 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007148/1.096, allocations: 383.5 kB / 1.222 GB, free: 1.879 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002851/1.097, allocations: 28 kB / 1.222 GB, free: 1.852 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/1.098, allocations: 139.7 kB / 1.222 GB, free: 1.715 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002035/1.098, allocations: 91.67 kB / 1.222 GB, free: 1.625 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.749e-05/1.098, allocations: 43.98 kB / 1.222 GB, free: 1.582 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001025/1.099, allocations: 0.6083 MB / 1.223 GB, free: 0.9805 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.81e-07/1.099, allocations: 0 / 1.223 GB, free: 0.9805 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.003312/1.102, allocations: 0.7539 MB / 1.223 GB, free: 232 kB / 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.0002922/1.103, allocations: 150.9 kB / 1.223 GB, free: 72 kB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004529/1.107, allocations: 2.905 MB / 1.226 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/1.107, allocations: 0 / 1.226 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001298/1.109, allocations: 0.9072 MB / 1.227 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002234/1.111, allocations: 317.5 kB / 1.228 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009553/1.12, allocations: 5.435 MB / 1.233 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002759/1.123, allocations: 2.195 MB / 1.235 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006607/1.124, allocations: 99.41 kB / 1.235 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of SimCode: time 8.61e-07/1.124, allocations: 4 kB / 1.235 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of Templates: time 0.04162/1.166, allocations: 28.22 MB / 1.263 GB, free: 7.875 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches