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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001086/0.001086, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.009798/0.009798, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.412/1.412, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.773/2.773, allocations: 462.7 MB / 0.7364 GB, free: 268 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003216/0.0003215, allocations: 9.188 kB / 0.9028 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3022, allocations: 159.6 MB / 1.059 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.9216/1.224, allocations: 232.2 MB / 1.285 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02308/1.247, allocations: 15.74 MB / 1.301 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003564/1.251, allocations: 53.84 kB / 1.301 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003647/1.254, allocations: 0.8773 MB / 1.302 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01042/1.265, allocations: 2.798 MB / 1.304 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005648/1.27, allocations: 1.517 MB / 1.306 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008029/1.278, allocations: 4.656 MB / 1.311 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00285/1.281, allocations: 1.034 MB / 1.312 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008418/1.29, allocations: 2.217 MB / 1.314 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003887/1.294, allocations: 1.068 MB / 1.315 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007322/1.294, allocations: 48.38 kB / 1.315 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008549/1.303, allocations: 3.585 MB / 1.318 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009791/1.304, allocations: 399.5 kB / 1.319 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002335/1.306, allocations: 0.7474 MB / 1.319 GB, free: 17.78 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006992/1.313, allocations: 3.047 MB / 1.322 GB, free: 17.59 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/1.313, allocations: 1.375 kB / 1.322 GB, free: 17.59 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.104e-06/1.313, allocations: 0 / 1.322 GB, free: 17.59 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.2e-05/1.313, allocations: 0 / 1.322 GB, free: 17.59 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.003543/1.317, allocations: 1.717 MB / 1.324 GB, free: 16.59 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/1.317, allocations: 8.25 kB / 1.324 GB, free: 16.59 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002846/1.32, allocations: 0.5365 MB / 1.325 GB, free: 16.49 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002188/1.322, allocations: 1.114 MB / 1.326 GB, free: 16.1 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009275/1.323, allocations: 282 kB / 1.326 GB, free: 16.07 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001658/1.323, allocations: 93.44 kB / 1.326 GB, free: 16.07 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002373/1.326, allocations: 1.344 MB / 1.327 GB, free: 15.78 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/1.326, allocations: 6.062 kB / 1.327 GB, free: 15.78 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/1.326, allocations: 39.41 kB / 1.327 GB, free: 15.78 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.628e-05/1.326, allocations: 47.47 kB / 1.327 GB, free: 15.78 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002504/1.328, allocations: 1.119 MB / 1.329 GB, free: 15.75 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.008058/1.336, allocations: 6.643 MB / 1.335 GB, free: 11.56 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/1.338, allocations: 0.6084 MB / 1.336 GB, free: 11.51 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006716/1.339, allocations: 282.1 kB / 1.336 GB, free: 11.5 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003951/1.339, allocations: 285.7 kB / 1.336 GB, free: 11.21 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/1.339, allocations: 38.19 kB / 1.336 GB, free: 11.17 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 2.194e-06/1.339, allocations: 0 / 1.336 GB, free: 11.17 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.002675/1.342, allocations: 0.9074 MB / 1.337 GB, free: 11.04 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/1.342, allocations: 62.5 kB / 1.337 GB, free: 10.97 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001983/1.344, allocations: 1.364 MB / 1.338 GB, free: 10.8 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001006/1.344, allocations: 40.05 kB / 1.338 GB, free: 10.76 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005412/1.345, allocations: 0.6812 MB / 1.339 GB, free: 10.51 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000134/1.345, allocations: 121.4 kB / 1.339 GB, free: 10.44 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.685e-05/1.345, allocations: 57.06 kB / 1.339 GB, free: 10.42 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000143/1.345, allocations: 327 kB / 1.34 GB, free: 10.12 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009334/1.346, allocations: 333.1 kB / 1.34 GB, free: 10.11 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/1.347, allocations: 0.6408 MB / 1.341 GB, free: 9.699 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001873/1.349, allocations: 0.8895 MB / 1.341 GB, free: 9.332 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/1.349, allocations: 2.188 kB / 1.341 GB, free: 9.332 MB / 1.014 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002721/1.352, allocations: 1.037 MB / 1.342 GB, free: 9.203 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002787/1.352, allocations: 376.2 kB / 1.343 GB, free: 8.766 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/1.352, allocations: 8.406 kB / 1.343 GB, free: 8.766 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.593e-05/1.352, allocations: 14.81 kB / 1.343 GB, free: 8.766 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008471/1.353, allocations: 204.3 kB / 1.343 GB, free: 8.758 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.922e-05/1.353, allocations: 19.06 kB / 1.343 GB, free: 8.758 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001778/1.355, allocations: 230.4 kB / 1.343 GB, free: 8.688 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.82e-05/1.355, allocations: 41.77 kB / 1.343 GB, free: 8.688 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.915e-06/1.355, allocations: 2.125 kB / 1.343 GB, free: 8.688 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002095/1.357, allocations: 0.8869 MB / 1.344 GB, free: 8.656 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/1.357, allocations: 8.625 kB / 1.344 GB, free: 8.656 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/1.357, allocations: 11.53 kB / 1.344 GB, free: 8.656 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007961/1.358, allocations: 212.6 kB / 1.344 GB, free: 8.648 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/1.358, allocations: 18.19 kB / 1.344 GB, free: 8.645 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/1.36, allocations: 192.3 kB / 1.345 GB, free: 8.598 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.778e-05/1.36, allocations: 37.34 kB / 1.345 GB, free: 8.598 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007905/1.36, allocations: 421.3 kB / 1.345 GB, free: 8.395 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002647/1.361, allocations: 137.2 kB / 1.345 GB, free: 8.324 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001738/1.362, allocations: 0.6903 MB / 1.346 GB, free: 8.238 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/1.362, allocations: 2.375 kB / 1.346 GB, free: 8.238 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/1.362, allocations: 3.938 kB / 1.346 GB, free: 8.234 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/1.362, allocations: 9.281 kB / 1.346 GB, free: 8.23 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004056/1.367, allocations: 1.965 MB / 1.348 GB, free: 7.738 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/1.367, allocations: 10.06 kB / 1.348 GB, free: 7.734 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005206/1.367, allocations: 101.6 kB / 1.348 GB, free: 7.73 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/1.367, allocations: 6.219 kB / 1.348 GB, free: 7.73 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.859e-05/1.367, allocations: 14.91 kB / 1.348 GB, free: 7.73 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.735e-06/1.367, allocations: 8.469 kB / 1.348 GB, free: 7.73 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/1.367, allocations: 5.906 kB / 1.348 GB, free: 7.73 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001832/1.369, allocations: 0.8569 MB / 1.349 GB, free: 7.359 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006753/1.37, allocations: 305.5 kB / 1.349 GB, free: 7.184 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002306/1.37, allocations: 12.19 kB / 1.349 GB, free: 7.184 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/1.371, allocations: 106.4 kB / 1.349 GB, free: 7.176 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.82e-05/1.371, allocations: 40.97 kB / 1.349 GB, free: 7.164 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.495e-05/1.371, allocations: 24.92 kB / 1.349 GB, free: 7.164 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001659/1.373, allocations: 0.9911 MB / 1.35 GB, free: 7.051 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.61e-07/1.373, allocations: 0 / 1.35 GB, free: 7.051 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001973/1.375, allocations: 0.5763 MB / 1.351 GB, free: 6.996 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.0006396/1.376, allocations: 271.2 kB / 1.351 GB, free: 6.867 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002965/1.379, allocations: 1.136 MB / 1.352 GB, free: 6.828 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/1.379, allocations: 2.734 kB / 1.352 GB, free: 6.828 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007045/1.379, allocations: 281.5 kB / 1.352 GB, free: 6.82 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004805/1.384, allocations: 0.7783 MB / 1.353 GB, free: 6.746 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005194/1.389, allocations: 2.719 MB / 1.356 GB, free: 5.359 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006992/1.39, allocations: 1.184 MB / 1.357 GB, free: 4.52 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001828/1.392, allocations: 368.9 kB / 1.357 GB, free: 4.34 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003034/1.392, allocations: 97.55 kB / 1.357 GB, free: 4.328 MB / 1.014 GB Notification: Performance of SimCode: time 7.01e-07/1.392, allocations: 0 / 1.357 GB, free: 4.328 MB / 1.014 GB Notification: Performance of Templates: time 0.04462/1.437, allocations: 25.41 MB / 1.382 GB, free: 7.789 MB / 1.029 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