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.006635/0.006635, allocations: 97.78 kB / 15.73 MB, free: 5.961 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.001302/0.001302, allocations: 195.3 kB / 16.67 MB, free: 5.883 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.256/2.256, allocations: 390.2 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 55.91 kB / 0.9508 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.958/0.9593, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02593/0.9853, allocations: 20.44 MB / 1.108 GB, free: 7.852 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01571/1.001, allocations: 7.694 MB / 1.115 GB, free: 2.633 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003207/1.004, allocations: 61.75 kB / 1.115 GB, free: 2.621 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004289/1.009, allocations: 1.349 MB / 1.117 GB, free: 1.809 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004241/1.013, allocations: 1.022 MB / 1.118 GB, free: 1.219 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.007176/1.02, allocations: 1.991 MB / 1.12 GB, free: 124 kB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.006946/1.027, allocations: 4.329 MB / 1.124 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008515/1.036, allocations: 6.161 MB / 1.13 GB, free: 11.82 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00368/1.039, allocations: 1.862 MB / 1.132 GB, free: 10.97 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004577/1.044, allocations: 2.199 MB / 1.134 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001077/1.045, allocations: 428.2 kB / 1.134 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002489/1.047, allocations: 0.9438 MB / 1.135 GB, free: 9.824 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.002397/1.05, allocations: 1.656 MB / 1.137 GB, free: 9.148 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002883/1.053, allocations: 1.717 MB / 1.139 GB, free: 8.023 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01104/1.064, allocations: 6.199 MB / 1.145 GB, free: 6.094 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/1.064, allocations: 0 / 1.145 GB, free: 6.094 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.535e-06/1.064, allocations: 0 / 1.145 GB, free: 6.094 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0002482/1.064, allocations: 0 / 1.145 GB, free: 6.094 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.01142/1.076, allocations: 3.12 MB / 1.148 GB, free: 4.297 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/1.076, allocations: 8.781 kB / 1.148 GB, free: 4.297 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004683/1.08, allocations: 0.762 MB / 1.148 GB, free: 3.926 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004721/1.085, allocations: 1.575 MB / 1.15 GB, free: 2.895 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000196/1.085, allocations: 228.1 kB / 1.15 GB, free: 2.785 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000858/1.086, allocations: 285.6 kB / 1.15 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01294/1.099, allocations: 5.082 MB / 1.155 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.28e-05/1.099, allocations: 11.61 kB / 1.155 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004594/1.1, allocations: 124.2 kB / 1.156 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002959/1.1, allocations: 207 kB / 1.156 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01017/1.11, allocations: 4.23 MB / 1.16 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03463/1.145, allocations: 22.96 MB / 1.182 GB, free: 8.266 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003244/1.148, allocations: 1.729 MB / 1.184 GB, free: 7.312 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001711/1.15, allocations: 1.148 MB / 1.185 GB, free: 6.695 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000156/1.15, allocations: 103.5 kB / 1.185 GB, free: 6.59 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/1.15, allocations: 43.28 kB / 1.185 GB, free: 6.543 MB / 0.92 GB Notification: Performance of pre-optimization done (n=84): time 2.475e-06/1.15, allocations: 0 / 1.185 GB, free: 6.543 MB / 0.92 GB Notification: Performance of matching and sorting (n=87): time 0.006734/1.157, allocations: 4.12 MB / 1.189 GB, free: 3.82 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.278e-05/1.157, allocations: 141.2 kB / 1.189 GB, free: 3.652 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/1.158, allocations: 0.8725 MB / 1.19 GB, free: 2.77 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001054/1.158, allocations: 41.7 kB / 1.19 GB, free: 2.723 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006894/1.159, allocations: 1.201 MB / 1.191 GB, free: 1.508 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003085/1.159, allocations: 329.3 kB / 1.192 GB, free: 1.184 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000454/1.16, allocations: 270.8 kB / 1.192 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001939/1.16, allocations: 406.7 kB / 1.192 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001273/1.161, allocations: 0.8257 MB / 1.193 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001615/1.163, allocations: 1.31 MB / 1.194 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002919/1.166, allocations: 2.167 MB / 1.197 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/1.166, allocations: 4 kB / 1.197 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003867/1.17, allocations: 2.215 MB / 1.199 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.431e-05/1.17, allocations: 16.03 kB / 1.199 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/1.17, allocations: 16 kB / 1.199 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.518e-05/1.17, allocations: 20 kB / 1.199 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001704/1.172, allocations: 419.3 kB / 1.199 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.987e-05/1.172, allocations: 27.88 kB / 1.199 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/1.173, allocations: 219.4 kB / 1.199 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001399/1.173, allocations: 59.98 kB / 1.2 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003096/1.176, allocations: 1.677 MB / 1.201 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001431/1.178, allocations: 1.186 MB / 1.202 GB, free: 5.695 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00253/1.18, allocations: 1.906 MB / 1.204 GB, free: 3.582 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.101e-05/1.18, allocations: 11.88 kB / 1.204 GB, free: 3.57 MB / 0.9356 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003305/1.184, allocations: 1.938 MB / 1.206 GB, free: 1.625 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/1.184, allocations: 12 kB / 1.206 GB, free: 1.613 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/1.184, allocations: 16 kB / 1.206 GB, free: 1.598 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/1.184, allocations: 24.19 kB / 1.206 GB, free: 1.574 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/1.185, allocations: 367.9 kB / 1.206 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.038e-05/1.185, allocations: 35.8 kB / 1.207 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/1.187, allocations: 175.5 kB / 1.207 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/1.187, allocations: 59.98 kB / 1.207 GB, free: 0.9492 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.0004409/1.187, allocations: 270.2 kB / 1.207 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003035/1.188, allocations: 103.3 kB / 1.207 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003002/1.191, allocations: 1.858 MB / 1.209 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/1.191, allocations: 8 kB / 1.209 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/1.191, allocations: 4 kB / 1.209 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/1.191, allocations: 7.969 kB / 1.209 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01442/1.205, allocations: 9.589 MB / 1.218 GB, free: 4.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.78e-05/1.205, allocations: 8 kB / 1.218 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00131/1.207, allocations: 315.4 kB / 1.219 GB, free: 4.523 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-05/1.207, allocations: 16 kB / 1.219 GB, free: 4.508 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.917e-05/1.207, allocations: 28 kB / 1.219 GB, free: 4.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.27e-05/1.207, allocations: 27.86 kB / 1.219 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.206e-05/1.207, allocations: 20.28 kB / 1.219 GB, free: 4.434 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003098/1.21, allocations: 2.402 MB / 1.221 GB, free: 1.871 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009086/1.211, allocations: 380.1 kB / 1.221 GB, free: 1.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000197/1.211, allocations: 43.94 kB / 1.221 GB, free: 1.438 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/1.212, allocations: 139.7 kB / 1.222 GB, free: 1.301 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001725/1.212, allocations: 87.67 kB / 1.222 GB, free: 1.215 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.337e-05/1.212, allocations: 36 kB / 1.222 GB, free: 1.18 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0009294/1.213, allocations: 0.6161 MB / 1.222 GB, free: 0.5703 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.6e-07/1.213, allocations: 0 / 1.222 GB, free: 0.5703 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002963/1.216, allocations: 0.754 MB / 1.223 GB, free: 15.81 MB / 0.9669 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.0002717/1.216, allocations: 150.8 kB / 1.223 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004595/1.221, allocations: 2.901 MB / 1.226 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 8.856e-06/1.221, allocations: 4.438 kB / 1.226 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001339/1.222, allocations: 0.9078 MB / 1.227 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00194/1.224, allocations: 323 kB / 1.227 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008331/1.233, allocations: 5.061 MB / 1.232 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002089/1.235, allocations: 2.124 MB / 1.234 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002249/1.237, allocations: 0.75 MB / 1.235 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004228/1.238, allocations: 83.42 kB / 1.235 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of SimCode: time 7.61e-07/1.238, allocations: 0 / 1.235 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of Templates: time 0.03262/1.27, allocations: 18.27 MB / 1.253 GB, free: 1.203 MB / 0.9825 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/jenkins/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