Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.Example4.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.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 106.5 kB / 16.36 MB, free: 6.336 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.001479/0.001479, allocations: 195.3 kB / 17.29 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.329/1.329, 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.395/2.395, allocations: 437.1 MB / 0.7112 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 68.45 kB / 0.8707 GB, free: 1.508 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2735, allocations: 151.6 MB / 1.019 GB, free: 9.914 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.6721/0.9457, allocations: 237.6 MB / 1.251 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02111/0.9669, allocations: 15.78 MB / 1.266 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002213/0.9691, allocations: 59.62 kB / 1.266 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002504/0.9716, allocations: 1.041 MB / 1.267 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.007098/0.9788, allocations: 2.98 MB / 1.27 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004084/0.9829, allocations: 1.684 MB / 1.272 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.005076/0.988, allocations: 3.438 MB / 1.275 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002225/0.9902, allocations: 1.289 MB / 1.276 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006403/0.9967, allocations: 2.497 MB / 1.279 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002333/0.999, allocations: 1.083 MB / 1.28 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002458/0.9993, allocations: 116 kB / 1.28 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0055/1.005, allocations: 3.098 MB / 1.283 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005015/1.005, allocations: 474.5 kB / 1.284 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001014/1.006, allocations: 0.8123 MB / 1.284 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00481/1.011, allocations: 2.96 MB / 1.287 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/1.011, allocations: 0 / 1.287 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.744e-06/1.011, allocations: 0 / 1.287 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.236e-05/1.011, allocations: 0 / 1.287 GB, free: 5.844 MB / 0.9825 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.003542/1.015, allocations: 2.002 MB / 1.289 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/1.015, allocations: 12.92 kB / 1.289 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002754/1.018, allocations: 0.5014 MB / 1.29 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002291/1.02, allocations: 1.164 MB / 1.291 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.074e-05/1.02, allocations: 81.94 kB / 1.291 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/1.02, allocations: 100 kB / 1.291 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002247/1.022, allocations: 1.346 MB / 1.292 GB, free: 416 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.682e-05/1.022, allocations: 7.938 kB / 1.292 GB, free: 408 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-05/1.022, allocations: 44 kB / 1.292 GB, free: 364 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-05/1.023, allocations: 41.98 kB / 1.292 GB, free: 324 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002285/1.025, allocations: 1.058 MB / 1.293 GB, free: 15.25 MB / 0.9981 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.007444/1.032, allocations: 7.386 MB / 1.301 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/1.034, allocations: 0.5387 MB / 1.301 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005911/1.034, allocations: 257.2 kB / 1.301 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003779/1.035, allocations: 283.6 kB / 1.302 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/1.035, allocations: 42.78 kB / 1.302 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 2.535e-06/1.035, allocations: 0 / 1.302 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002258/1.037, allocations: 0.8443 MB / 1.303 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/1.037, allocations: 59.41 kB / 1.303 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001772/1.039, allocations: 1.387 MB / 1.304 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.649e-05/1.039, allocations: 37.7 kB / 1.304 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000516/1.04, allocations: 0.7065 MB / 1.305 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.779e-05/1.04, allocations: 118.3 kB / 1.305 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002444/1.04, allocations: 166.4 kB / 1.305 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000111/1.04, allocations: 334 kB / 1.305 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007826/1.041, allocations: 312.6 kB / 1.306 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001051/1.042, allocations: 0.6852 MB / 1.306 GB, free: 1.348 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001659/1.044, allocations: 0.9386 MB / 1.307 GB, free: 256 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/1.044, allocations: 4 kB / 1.307 GB, free: 252 kB / 0.9981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002231/1.046, allocations: 1.05 MB / 1.308 GB, free: 15.19 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/1.046, allocations: 12 kB / 1.308 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/1.046, allocations: 12 kB / 1.308 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/1.046, allocations: 16 kB / 1.308 GB, free: 15.15 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008407/1.047, allocations: 204 kB / 1.308 GB, free: 14.95 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.148e-05/1.047, allocations: 27.86 kB / 1.308 GB, free: 14.92 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/1.048, allocations: 185.8 kB / 1.309 GB, free: 14.74 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.541e-05/1.048, allocations: 47.98 kB / 1.309 GB, free: 14.7 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001128/1.049, allocations: 0.5682 MB / 1.309 GB, free: 14.12 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001066/1.05, allocations: 0.6852 MB / 1.31 GB, free: 13.26 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001676/1.052, allocations: 0.9293 MB / 1.311 GB, free: 12.17 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.734e-06/1.052, allocations: 8 kB / 1.311 GB, free: 12.16 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002264/1.054, allocations: 1.034 MB / 1.312 GB, free: 11.12 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/1.054, allocations: 12.94 kB / 1.312 GB, free: 11.11 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/1.054, allocations: 15.98 kB / 1.312 GB, free: 11.09 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/1.054, allocations: 20 kB / 1.312 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008299/1.055, allocations: 199.6 kB / 1.312 GB, free: 10.88 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.845e-05/1.055, allocations: 23.92 kB / 1.312 GB, free: 10.85 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/1.056, allocations: 127.5 kB / 1.312 GB, free: 10.73 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.572e-05/1.057, allocations: 47.98 kB / 1.312 GB, free: 10.68 MB / 1.014 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.00025/1.057, allocations: 236 kB / 1.312 GB, free: 10.44 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002335/1.057, allocations: 142.2 kB / 1.313 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001606/1.059, allocations: 0.6491 MB / 1.313 GB, free: 9.637 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/1.059, allocations: 4 kB / 1.313 GB, free: 9.633 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/1.059, allocations: 0 / 1.313 GB, free: 9.633 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/1.059, allocations: 3.984 kB / 1.313 GB, free: 9.629 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003503/1.062, allocations: 1.898 MB / 1.315 GB, free: 7.621 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/1.062, allocations: 0 / 1.315 GB, free: 7.621 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004865/1.063, allocations: 87.86 kB / 1.315 GB, free: 7.535 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.198e-06/1.063, allocations: 16.09 kB / 1.315 GB, free: 7.52 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.554e-05/1.063, allocations: 8 kB / 1.315 GB, free: 7.512 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.058e-05/1.063, allocations: 15.92 kB / 1.315 GB, free: 7.496 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.063, allocations: 4 kB / 1.315 GB, free: 7.492 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/1.064, allocations: 0.8004 MB / 1.316 GB, free: 6.625 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00053/1.065, allocations: 303 kB / 1.316 GB, free: 6.309 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000208/1.065, allocations: 11.94 kB / 1.316 GB, free: 6.297 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/1.066, allocations: 67.92 kB / 1.316 GB, free: 6.23 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.622e-05/1.066, allocations: 39.83 kB / 1.316 GB, free: 6.191 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.837e-05/1.066, allocations: 19.98 kB / 1.316 GB, free: 6.172 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001401/1.068, allocations: 1.009 MB / 1.317 GB, free: 5.168 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.31e-07/1.068, allocations: 0 / 1.317 GB, free: 5.168 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001714/1.069, allocations: 0.5696 MB / 1.318 GB, free: 4.598 MB / 1.014 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.0005658/1.07, allocations: 275.7 kB / 1.318 GB, free: 4.328 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002783/1.073, allocations: 1.129 MB / 1.319 GB, free: 3.203 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/1.073, allocations: 4 kB / 1.319 GB, free: 3.199 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006554/1.073, allocations: 253.4 kB / 1.32 GB, free: 2.953 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003209/1.077, allocations: 0.7538 MB / 1.32 GB, free: 2.203 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004522/1.081, allocations: 2.23 MB / 1.322 GB, free: 15.89 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007306/1.082, allocations: 1.186 MB / 1.324 GB, free: 14.68 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001225/1.083, allocations: 379.8 kB / 1.324 GB, free: 14.3 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002566/1.083, allocations: 95.42 kB / 1.324 GB, free: 14.21 MB / 1.029 GB Notification: Performance of SimCode: time 5.61e-07/1.083, allocations: 0 / 1.324 GB, free: 14.21 MB / 1.029 GB Notification: Performance of Templates: time 0.03977/1.123, allocations: 24.99 MB / 1.348 GB, free: 5.555 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.Example4.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches