Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uacp.UAcp|uacp.bypass_nominal",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uacp.UAcp|uacp.bypass_nominal",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001176, allocations: 117.2 kB / 16.37 MB, free: 6.004 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.001196/0.001197, allocations: 193.2 kB / 17.31 MB, free: 5.613 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.547/2.547, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 64 kB / 0.8707 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3484, allocations: 151.6 MB / 1.019 GB, free: 9.855 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.003278/0.3518, allocations: 1.693 MB / 1.02 GB, free: 8.145 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6833/1.035, allocations: 148.4 MB / 1.165 GB, free: 4.324 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.378e-05/1.035, allocations: 0 / 1.165 GB, free: 4.324 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0002207/1.035, allocations: 48.16 kB / 1.165 GB, free: 4.301 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00116/1.037, allocations: 433.8 kB / 1.166 GB, free: 4.086 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001461/1.037, allocations: 66.67 kB / 1.166 GB, free: 4.051 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0002008/1.037, allocations: 147.8 kB / 1.166 GB, free: 3.98 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 4.301e-05/1.037, allocations: 7.656 kB / 1.166 GB, free: 3.977 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 6.487e-05/1.037, allocations: 59.47 kB / 1.166 GB, free: 3.949 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/1.037, allocations: 61.23 kB / 1.166 GB, free: 3.926 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/1.037, allocations: 9.188 kB / 1.166 GB, free: 3.926 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009232/1.038, allocations: 0.5087 MB / 1.167 GB, free: 3.738 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 2.235e-05/1.038, allocations: 21.31 kB / 1.167 GB, free: 3.727 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 6.733e-05/1.038, allocations: 59.22 kB / 1.167 GB, free: 3.691 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0005486/1.039, allocations: 377.3 kB / 1.167 GB, free: 3.578 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/1.039, allocations: 0 / 1.167 GB, free: 3.578 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.513e-06/1.039, allocations: 0 / 1.167 GB, free: 3.578 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.08e-06/1.039, allocations: 0 / 1.167 GB, free: 3.578 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000686/1.04, allocations: 474.4 kB / 1.168 GB, free: 3.145 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/1.04, allocations: 10.03 kB / 1.168 GB, free: 3.145 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/1.041, allocations: 184.7 kB / 1.168 GB, free: 3.051 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/1.041, allocations: 305.8 kB / 1.168 GB, free: 2.75 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.867e-05/1.041, allocations: 159.8 kB / 1.168 GB, free: 2.594 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.55e-05/1.041, allocations: 163.8 kB / 1.168 GB, free: 2.438 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.092e-05/1.041, allocations: 108.9 kB / 1.168 GB, free: 2.324 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/1.041, allocations: 75.28 kB / 1.169 GB, free: 2.25 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.588e-05/1.041, allocations: 151.9 kB / 1.169 GB, free: 2.102 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.807e-05/1.041, allocations: 150.6 kB / 1.169 GB, free: 1.953 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.073e-05/1.042, allocations: 150.6 kB / 1.169 GB, free: 1.805 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003787/1.042, allocations: 0.5095 MB / 1.169 GB, free: 1.297 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 8.194e-05/1.042, allocations: 174.1 kB / 1.17 GB, free: 1.117 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.95e-05/1.042, allocations: 81.27 kB / 1.17 GB, free: 1.035 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/1.042, allocations: 75.28 kB / 1.17 GB, free: 0.9609 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.26e-05/1.042, allocations: 118.4 kB / 1.17 GB, free: 0.8398 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 2.285e-06/1.042, allocations: 3.984 kB / 1.17 GB, free: 0.8359 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 0.0002948/1.042, allocations: 56.41 kB / 1.17 GB, free: 0.7969 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/1.042, allocations: 127.8 kB / 1.17 GB, free: 0.6602 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003017/1.043, allocations: 218.6 kB / 1.17 GB, free: 0.5195 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/1.043, allocations: 29.7 kB / 1.17 GB, free: 496 kB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 6.297e-05/1.043, allocations: 112.9 kB / 1.17 GB, free: 388 kB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-06/1.043, allocations: 0 / 1.17 GB, free: 388 kB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-05/1.043, allocations: 22.77 kB / 1.17 GB, free: 368 kB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001018/1.043, allocations: 324 kB / 1.171 GB, free: 40 kB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.809e-05/1.043, allocations: 23.95 kB / 1.171 GB, free: 24 kB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.112e-05/1.043, allocations: 19.52 kB / 1.171 GB, free: 16 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.243e-05/1.043, allocations: 31.22 kB / 1.171 GB, free: 15.99 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/1.043, allocations: 3.938 kB / 1.171 GB, free: 15.99 MB / 0.8887 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006225/1.044, allocations: 134 kB / 1.171 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/1.044, allocations: 5.062 kB / 1.171 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/1.044, allocations: 1.172 kB / 1.171 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007727/1.045, allocations: 148.2 kB / 1.171 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.749e-05/1.045, allocations: 7.141 kB / 1.171 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001991/1.047, allocations: 1.616 MB / 1.173 GB, free: 14.37 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/1.047, allocations: 13.27 kB / 1.173 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.739e-06/1.047, allocations: 1.312 kB / 1.173 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.604e-05/1.047, allocations: 100.8 kB / 1.173 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.431e-05/1.047, allocations: 19.28 kB / 1.173 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 5.129e-05/1.047, allocations: 27.05 kB / 1.173 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.01e-07/1.047, allocations: 3.938 kB / 1.173 GB, free: 14.24 MB / 0.8887 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002354/1.047, allocations: 111.1 kB / 1.173 GB, free: 14.17 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/1.047, allocations: 4.406 kB / 1.173 GB, free: 14.17 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.414e-06/1.047, allocations: 5.438 kB / 1.173 GB, free: 14.17 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003589/1.048, allocations: 110.6 kB / 1.173 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.659e-05/1.048, allocations: 8 kB / 1.173 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001241/1.049, allocations: 1.456 MB / 1.174 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/1.049, allocations: 10.69 kB / 1.175 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/1.049, allocations: 1.375 kB / 1.175 GB, free: 12.7 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001301/1.049, allocations: 257 kB / 1.175 GB, free: 12.44 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/1.05, allocations: 117.4 kB / 1.175 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.253e-05/1.05, allocations: 122.2 kB / 1.175 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.679e-05/1.05, allocations: 177.5 kB / 1.175 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.255e-05/1.05, allocations: 181 kB / 1.175 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.328e-05/1.05, allocations: 181.5 kB / 1.176 GB, free: 11.66 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002886/1.05, allocations: 445.9 kB / 1.176 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.504e-05/1.05, allocations: 106 kB / 1.176 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.679e-05/1.05, allocations: 104.8 kB / 1.176 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.302e-05/1.05, allocations: 185.6 kB / 1.176 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.76e-05/1.05, allocations: 186.5 kB / 1.176 GB, free: 10.61 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-05/1.05, allocations: 181.7 kB / 1.177 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-05/1.051, allocations: 182.6 kB / 1.177 GB, free: 10.24 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/1.051, allocations: 309.5 kB / 1.177 GB, free: 9.926 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/1.051, allocations: 198.5 kB / 1.177 GB, free: 9.715 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.617e-05/1.051, allocations: 185.6 kB / 1.177 GB, free: 9.527 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/1.051, allocations: 113.7 kB / 1.178 GB, free: 9.414 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.984e-05/1.051, allocations: 181.5 kB / 1.178 GB, free: 9.23 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.083e-05/1.051, allocations: 103.4 kB / 1.178 GB, free: 9.125 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001984/1.051, allocations: 160.9 kB / 1.178 GB, free: 9.023 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.91e-07/1.051, allocations: 5.188 kB / 1.178 GB, free: 9.02 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004633/1.052, allocations: 68.56 kB / 1.178 GB, free: 9.012 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0002642/1.052, allocations: 211.1 kB / 1.178 GB, free: 8.836 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0005546/1.053, allocations: 302.8 kB / 1.179 GB, free: 8.586 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/1.053, allocations: 0 / 1.179 GB, free: 8.586 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 3.196e-06/1.053, allocations: 1.062 kB / 1.179 GB, free: 8.586 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004812/1.053, allocations: 487.2 kB / 1.179 GB, free: 8.125 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004668/1.054, allocations: 300.6 kB / 1.179 GB, free: 7.883 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/1.054, allocations: 0.6999 MB / 1.18 GB, free: 7.184 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 7.582e-05/1.054, allocations: 13.06 kB / 1.18 GB, free: 7.18 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.77e-05/1.054, allocations: 17.2 kB / 1.18 GB, free: 7.168 MB / 0.8887 GB Notification: Performance of SimCode: time 2.7e-07/1.054, allocations: 0 / 1.18 GB, free: 7.168 MB / 0.8887 GB Notification: Performance of Templates: time 0.006656/1.061, allocations: 3.064 MB / 1.183 GB, free: 5.941 MB / 0.8887 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches