Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 80.22 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 167 kB / 22.46 MB, free: 5.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.48/1.48, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.979/2.979, allocations: 389 MB / 0.633 GB, free: 0.9922 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example4") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 1 GB, free: 6.211 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.212e-05/3.39e-05, allocations: 10.22 kB / 1 GB, free: 6.199 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.8322/0.8322, allocations: 210.7 MB / 1.206 GB, free: 11.37 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02399/0.8562, allocations: 14.56 MB / 1.22 GB, free: 172 kB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002639/0.8589, allocations: 87.5 kB / 1.22 GB, free: 124 kB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.003067/0.8619, allocations: 1.02 MB / 1.221 GB, free: 15.28 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.009577/0.8715, allocations: 3.173 MB / 1.224 GB, free: 12.84 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0053/0.8768, allocations: 1.764 MB / 1.226 GB, free: 11.52 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.005892/0.8827, allocations: 3.451 MB / 1.229 GB, free: 9.473 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002023/0.8847, allocations: 0.9621 MB / 1.23 GB, free: 8.762 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008739/0.8935, allocations: 3.279 MB / 1.234 GB, free: 6.641 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002434/0.8959, allocations: 0.9562 MB / 1.234 GB, free: 6.141 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002405/0.8962, allocations: 117.1 kB / 1.235 GB, free: 6.141 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005716/0.9019, allocations: 2.576 MB / 1.237 GB, free: 4.746 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0006972/0.9026, allocations: 0.5135 MB / 1.238 GB, free: 4.371 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0009494/0.9035, allocations: 0.5391 MB / 1.238 GB, free: 4.117 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.005851/0.9094, allocations: 3.006 MB / 1.241 GB, free: 2.258 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.9094, allocations: 4 kB / 1.241 GB, free: 2.254 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9094, allocations: 2.312 kB / 1.241 GB, free: 2.254 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.455e-05/0.9094, allocations: 0 / 1.241 GB, free: 2.254 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.004186/0.9136, allocations: 1.972 MB / 1.243 GB, free: 0.7852 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.9136, allocations: 11.72 kB / 1.243 GB, free: 0.7812 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003296/0.9169, allocations: 0.5061 MB / 1.243 GB, free: 0.5469 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002768/0.9197, allocations: 1.114 MB / 1.245 GB, free: 15.7 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.436e-05/0.9198, allocations: 82.09 kB / 1.245 GB, free: 15.66 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/0.9199, allocations: 94.75 kB / 1.245 GB, free: 15.64 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002662/0.9226, allocations: 1.457 MB / 1.246 GB, free: 14.55 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.9226, allocations: 2.844 kB / 1.246 GB, free: 14.55 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001288/0.9228, allocations: 45.34 kB / 1.246 GB, free: 14.52 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.106e-05/0.9228, allocations: 51.23 kB / 1.246 GB, free: 14.51 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002474/0.9253, allocations: 1.052 MB / 1.247 GB, free: 13.99 MB / 1.061 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008316/0.9336, allocations: 5.765 MB / 1.253 GB, free: 9.031 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/0.9353, allocations: 0.5191 MB / 1.253 GB, free: 8.777 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000666/0.936, allocations: 253.6 kB / 1.254 GB, free: 8.652 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003079/0.9363, allocations: 53.5 kB / 1.254 GB, free: 8.637 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.9363, allocations: 33.53 kB / 1.254 GB, free: 8.598 MB / 1.061 GB Notification: Performance of pre-optimization done (n=33): time 1.963e-06/0.9363, allocations: 0 / 1.254 GB, free: 8.598 MB / 1.061 GB Notification: Performance of matching and sorting (n=33): time 0.0026/0.9389, allocations: 0.8302 MB / 1.255 GB, free: 8.184 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.651e-05/0.939, allocations: 53.41 kB / 1.255 GB, free: 8.121 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001744/0.9407, allocations: 1.126 MB / 1.256 GB, free: 7.492 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.554e-05/0.9408, allocations: 32.33 kB / 1.256 GB, free: 7.457 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006857/0.9415, allocations: 0.7361 MB / 1.256 GB, free: 6.801 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.9416, allocations: 123.1 kB / 1.257 GB, free: 6.695 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002973/0.9419, allocations: 168.8 kB / 1.257 GB, free: 6.59 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001996/0.9421, allocations: 338.1 kB / 1.257 GB, free: 6.262 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008944/0.943, allocations: 316.1 kB / 1.257 GB, free: 6.105 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001412/0.9444, allocations: 0.9584 MB / 1.258 GB, free: 5.117 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002003/0.9464, allocations: 0.9353 MB / 1.259 GB, free: 4.25 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.9464, allocations: 4 kB / 1.259 GB, free: 4.246 MB / 1.061 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002801/0.9492, allocations: 1.028 MB / 1.26 GB, free: 3.211 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.9493, allocations: 15.88 kB / 1.26 GB, free: 3.195 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.9493, allocations: 12.09 kB / 1.26 GB, free: 3.184 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.19e-05/0.9493, allocations: 20 kB / 1.26 GB, free: 3.164 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009574/0.9503, allocations: 199.7 kB / 1.26 GB, free: 2.969 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.756e-05/0.9503, allocations: 19.94 kB / 1.26 GB, free: 2.949 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/0.9518, allocations: 158.3 kB / 1.261 GB, free: 2.797 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.497e-05/0.9518, allocations: 47.98 kB / 1.261 GB, free: 2.75 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001498/0.9533, allocations: 0.5651 MB / 1.261 GB, free: 2.18 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001529/0.9549, allocations: 0.9689 MB / 1.262 GB, free: 0.9688 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002065/0.9569, allocations: 0.9257 MB / 1.263 GB, free: 15.88 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.873e-06/0.9569, allocations: 4 kB / 1.263 GB, free: 15.88 MB / 1.076 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002878/0.9598, allocations: 1.024 MB / 1.264 GB, free: 14.85 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.9598, allocations: 8 kB / 1.264 GB, free: 14.84 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.9599, allocations: 12 kB / 1.264 GB, free: 14.83 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.444e-05/0.9599, allocations: 19.94 kB / 1.264 GB, free: 14.81 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000925/0.9608, allocations: 207.6 kB / 1.264 GB, free: 14.61 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.036e-05/0.9608, allocations: 19.94 kB / 1.264 GB, free: 14.59 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/0.9622, allocations: 131.6 kB / 1.264 GB, free: 14.46 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.111e-05/0.9623, allocations: 44 kB / 1.264 GB, free: 14.41 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (88): * Single equations (assignments): 88 * 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.0003213/0.9626, allocations: 236.5 kB / 1.265 GB, free: 14.18 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002355/0.9628, allocations: 127.1 kB / 1.265 GB, free: 14.05 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001898/0.9647, allocations: 0.6339 MB / 1.265 GB, free: 13.41 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.9647, allocations: 4 kB / 1.265 GB, free: 13.4 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.9648, allocations: 3.984 kB / 1.265 GB, free: 13.4 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.9648, allocations: 0 / 1.265 GB, free: 13.4 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003897/0.9687, allocations: 1.643 MB / 1.267 GB, free: 11.68 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.9687, allocations: 6.562 kB / 1.267 GB, free: 11.68 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005615/0.9692, allocations: 96.02 kB / 1.267 GB, free: 11.58 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-06/0.9692, allocations: 4 kB / 1.267 GB, free: 11.58 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.832e-05/0.9693, allocations: 12 kB / 1.267 GB, free: 11.57 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.348e-05/0.9693, allocations: 11.92 kB / 1.267 GB, free: 11.55 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.9693, allocations: 8 kB / 1.267 GB, free: 11.55 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001863/0.9712, allocations: 0.7666 MB / 1.268 GB, free: 10.72 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004823/0.9716, allocations: 195 kB / 1.268 GB, free: 10.53 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001675/0.9718, allocations: 15.94 kB / 1.268 GB, free: 10.51 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009692/0.9728, allocations: 63.92 kB / 1.268 GB, free: 10.45 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.997e-05/0.9729, allocations: 31.95 kB / 1.268 GB, free: 10.42 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.004e-05/0.9729, allocations: 23.92 kB / 1.268 GB, free: 10.39 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.00129/0.9742, allocations: 0.7502 MB / 1.269 GB, free: 9.641 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.9742, allocations: 3.938 kB / 1.269 GB, free: 9.637 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.00207/0.9763, allocations: 0.6392 MB / 1.27 GB, free: 8.996 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 32 * 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.0005469/0.9768, allocations: 258.9 kB / 1.27 GB, free: 8.734 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003198/0.98, allocations: 1.082 MB / 1.271 GB, free: 7.656 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.98, allocations: 0 / 1.271 GB, free: 7.656 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007455/0.9808, allocations: 253.4 kB / 1.271 GB, free: 7.41 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002276/0.9831, allocations: 441.6 kB / 1.272 GB, free: 6.984 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00531/0.9884, allocations: 2.202 MB / 1.274 GB, free: 4.699 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007144/0.9891, allocations: 0.602 MB / 1.274 GB, free: 4.062 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001184/0.9903, allocations: 336.5 kB / 1.275 GB, free: 3.73 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002577/0.9905, allocations: 80.48 kB / 1.275 GB, free: 3.648 MB / 1.076 GB Notification: Performance of SimCode: time 7.12e-07/0.9905, allocations: 0 / 1.275 GB, free: 3.648 MB / 1.076 GB Notification: Performance of Templates: time 0.03619/1.027, allocations: 17.35 MB / 1.292 GB, free: 2.664 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.871939472854137]