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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0009767/0.0009767, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001051/0.001051, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.78/2.78, allocations: 462.6 MB / 0.736 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.0003408, allocations: 10.91 kB / 0.9021 GB, free: 36.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2674, allocations: 159.6 MB / 1.058 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.7846/1.052, allocations: 216.7 MB / 1.27 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01722/1.069, allocations: 14.73 MB / 1.284 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002074/1.071, allocations: 55.44 kB / 1.284 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002004/1.073, allocations: 0.6555 MB / 1.285 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006209/1.08, allocations: 2.135 MB / 1.287 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003931/1.084, allocations: 1.256 MB / 1.288 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006467/1.09, allocations: 3.958 MB / 1.292 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001659/1.092, allocations: 0.9334 MB / 1.293 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005015/1.097, allocations: 1.909 MB / 1.295 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001905/1.099, allocations: 1.006 MB / 1.296 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001863/1.099, allocations: 49.17 kB / 1.296 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00485/1.104, allocations: 1.905 MB / 1.298 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005358/1.104, allocations: 397.7 kB / 1.298 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009369/1.105, allocations: 329.6 kB / 1.298 GB, free: 22.21 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003027/1.108, allocations: 2.034 MB / 1.3 GB, free: 22.03 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/1.108, allocations: 3.938 kB / 1.3 GB, free: 22.02 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.442e-06/1.108, allocations: 1.062 kB / 1.3 GB, free: 22.02 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.166e-05/1.108, allocations: 0 / 1.3 GB, free: 22.02 MB / 1.014 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.003233/1.112, allocations: 1.729 MB / 1.302 GB, free: 21.03 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/1.112, allocations: 9.375 kB / 1.302 GB, free: 21.03 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002897/1.115, allocations: 0.5436 MB / 1.302 GB, free: 20.92 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00225/1.117, allocations: 1.073 MB / 1.303 GB, free: 20.57 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000798/1.118, allocations: 276.5 kB / 1.304 GB, free: 20.55 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/1.118, allocations: 96.94 kB / 1.304 GB, free: 20.55 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002414/1.12, allocations: 1.331 MB / 1.305 GB, free: 20.26 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/1.12, allocations: 5.344 kB / 1.305 GB, free: 20.26 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/1.12, allocations: 46.09 kB / 1.305 GB, free: 20.25 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.208e-05/1.12, allocations: 43.78 kB / 1.305 GB, free: 20.25 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002386/1.123, allocations: 1.109 MB / 1.306 GB, free: 20.22 MB / 1.014 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.007504/1.13, allocations: 6.638 MB / 1.313 GB, free: 16.04 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/1.132, allocations: 0.6041 MB / 1.313 GB, free: 15.99 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006047/1.133, allocations: 283.6 kB / 1.314 GB, free: 15.97 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000385/1.133, allocations: 288.5 kB / 1.314 GB, free: 15.69 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/1.133, allocations: 37.16 kB / 1.314 GB, free: 15.65 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 2.254e-06/1.133, allocations: 0 / 1.314 GB, free: 15.65 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.002312/1.135, allocations: 0.9056 MB / 1.315 GB, free: 15.52 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/1.135, allocations: 54.53 kB / 1.315 GB, free: 15.45 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001741/1.137, allocations: 1.359 MB / 1.316 GB, free: 15.28 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.568e-05/1.137, allocations: 32.33 kB / 1.316 GB, free: 15.25 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004377/1.138, allocations: 0.6824 MB / 1.317 GB, free: 15 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.21e-05/1.138, allocations: 119.2 kB / 1.317 GB, free: 14.92 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.909e-05/1.138, allocations: 14.25 kB / 1.317 GB, free: 14.92 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001067/1.138, allocations: 332.3 kB / 1.317 GB, free: 14.61 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007881/1.139, allocations: 320.1 kB / 1.318 GB, free: 14.61 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009047/1.14, allocations: 0.6472 MB / 1.318 GB, free: 14.2 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000813/1.14, allocations: 390.5 kB / 1.319 GB, free: 14.18 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/1.14, allocations: 4.312 kB / 1.319 GB, free: 14.18 MB / 1.014 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002068/1.142, allocations: 1.033 MB / 1.32 GB, free: 14.05 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001546/1.143, allocations: 374.5 kB / 1.32 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/1.143, allocations: 13.19 kB / 1.32 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/1.143, allocations: 14.69 kB / 1.32 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007952/1.143, allocations: 205 kB / 1.32 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.732e-05/1.144, allocations: 17.06 kB / 1.32 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/1.145, allocations: 236.8 kB / 1.321 GB, free: 13.53 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.989e-05/1.145, allocations: 37.89 kB / 1.321 GB, free: 13.53 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.432e-06/1.145, allocations: 3.531 kB / 1.321 GB, free: 13.53 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001761/1.147, allocations: 0.8826 MB / 1.321 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/1.147, allocations: 8.812 kB / 1.321 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/1.147, allocations: 16.34 kB / 1.321 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000737/1.148, allocations: 201.8 kB / 1.322 GB, free: 13.49 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/1.148, allocations: 19.48 kB / 1.322 GB, free: 13.49 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/1.149, allocations: 203.3 kB / 1.322 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.928e-05/1.149, allocations: 42.27 kB / 1.322 GB, free: 13.43 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (78): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006405/1.15, allocations: 405.8 kB / 1.322 GB, free: 13.24 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001896/1.15, allocations: 138.3 kB / 1.322 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001519/1.151, allocations: 0.6953 MB / 1.323 GB, free: 13.08 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/1.151, allocations: 6.516 kB / 1.323 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/1.151, allocations: 0 / 1.323 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/1.151, allocations: 3.141 kB / 1.323 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003196/1.155, allocations: 1.935 MB / 1.325 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/1.155, allocations: 9 kB / 1.325 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004784/1.155, allocations: 102 kB / 1.325 GB, free: 12.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/1.155, allocations: 6.094 kB / 1.325 GB, free: 12.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.402e-05/1.155, allocations: 18.92 kB / 1.325 GB, free: 12.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/1.155, allocations: 2.938 kB / 1.325 GB, free: 12.6 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/1.155, allocations: 7.938 kB / 1.325 GB, free: 12.6 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/1.157, allocations: 0.8445 MB / 1.326 GB, free: 12.24 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004796/1.157, allocations: 288.4 kB / 1.326 GB, free: 12.07 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000198/1.157, allocations: 16.97 kB / 1.326 GB, free: 12.07 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000921/1.158, allocations: 113 kB / 1.326 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.356e-05/1.158, allocations: 33.61 kB / 1.326 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.344e-05/1.158, allocations: 23.3 kB / 1.326 GB, free: 12.05 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00122/1.16, allocations: 0.932 MB / 1.327 GB, free: 11.93 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.2e-07/1.16, allocations: 0 / 1.327 GB, free: 11.93 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001631/1.161, allocations: 0.5729 MB / 1.328 GB, free: 11.87 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005139/1.162, allocations: 267.1 kB / 1.328 GB, free: 11.74 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002539/1.164, allocations: 1.139 MB / 1.329 GB, free: 11.7 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.164, allocations: 0 / 1.329 GB, free: 11.7 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006134/1.165, allocations: 279 kB / 1.33 GB, free: 11.69 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002756/1.168, allocations: 0.6242 MB / 1.33 GB, free: 11.62 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004495/1.172, allocations: 2.653 MB / 1.333 GB, free: 10.34 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007099/1.173, allocations: 1.19 MB / 1.334 GB, free: 9.602 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001578/1.175, allocations: 350.1 kB / 1.334 GB, free: 9.512 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002228/1.175, allocations: 91.23 kB / 1.334 GB, free: 9.504 MB / 1.014 GB Notification: Performance of SimCode: time 7.11e-07/1.175, allocations: 0 / 1.334 GB, free: 9.504 MB / 1.014 GB Notification: Performance of Templates: time 0.0374/1.212, allocations: 21.41 MB / 1.355 GB, free: 1.207 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) 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) Reference file matches