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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001279/0.001279, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.381/1.381, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.738/2.738, allocations: 437 MB / 0.7103 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 59.91 kB / 0.8692 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7283/0.7297, allocations: 151.6 MB / 1.017 GB, free: 2.527 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2651/0.9949, allocations: 237.6 MB / 1.249 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7143/1.709, allocations: 15.75 MB / 1.265 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003038/1.712, allocations: 62.31 kB / 1.265 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003637/1.716, allocations: 1.041 MB / 1.266 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00789/1.724, allocations: 2.979 MB / 1.269 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004756/1.729, allocations: 1.673 MB / 1.27 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005975/1.735, allocations: 3.426 MB / 1.274 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002456/1.737, allocations: 1.287 MB / 1.275 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007479/1.745, allocations: 2.488 MB / 1.277 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003625/1.748, allocations: 1.079 MB / 1.278 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005842/1.749, allocations: 119.6 kB / 1.278 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008355/1.757, allocations: 3.095 MB / 1.282 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001153/1.758, allocations: 480.8 kB / 1.282 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001767/1.76, allocations: 0.8067 MB / 1.283 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00789/1.768, allocations: 2.933 MB / 1.286 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/1.768, allocations: 0.5938 kB / 1.286 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.744e-06/1.768, allocations: 0.9375 kB / 1.286 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.264e-05/1.768, allocations: 0 / 1.286 GB, free: 1.418 MB / 0.9981 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.004348/1.773, allocations: 2.007 MB / 1.288 GB, free: 16.38 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/1.773, allocations: 8.25 kB / 1.288 GB, free: 16.38 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002951/1.776, allocations: 0.4961 MB / 1.288 GB, free: 16.3 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002305/1.778, allocations: 1.114 MB / 1.289 GB, free: 15.9 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009092/1.779, allocations: 244.6 kB / 1.289 GB, free: 15.9 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001646/1.779, allocations: 96.03 kB / 1.289 GB, free: 15.9 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002375/1.781, allocations: 1.374 MB / 1.291 GB, free: 15.54 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/1.781, allocations: 3.094 kB / 1.291 GB, free: 15.54 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.693e-05/1.782, allocations: 44.03 kB / 1.291 GB, free: 15.54 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.844e-05/1.782, allocations: 50.55 kB / 1.291 GB, free: 15.54 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002398/1.784, allocations: 1.078 MB / 1.292 GB, free: 15.54 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.007914/1.792, allocations: 7.438 MB / 1.299 GB, free: 10.57 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/1.794, allocations: 0.5704 MB / 1.3 GB, free: 10.55 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006518/1.794, allocations: 269.9 kB / 1.3 GB, free: 10.54 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003749/1.795, allocations: 285.1 kB / 1.3 GB, free: 10.26 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/1.795, allocations: 40.81 kB / 1.3 GB, free: 10.22 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 2.435e-06/1.795, allocations: 0.7188 kB / 1.3 GB, free: 10.22 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.002551/1.797, allocations: 0.8687 MB / 1.301 GB, free: 10.1 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/1.797, allocations: 57.84 kB / 1.301 GB, free: 10.04 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001752/1.799, allocations: 1.399 MB / 1.303 GB, free: 9.863 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.671e-05/1.799, allocations: 37.89 kB / 1.303 GB, free: 9.832 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004631/1.8, allocations: 0.6988 MB / 1.303 GB, free: 9.566 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/1.8, allocations: 124.5 kB / 1.303 GB, free: 9.496 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002335/1.8, allocations: 163.2 kB / 1.304 GB, free: 9.469 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001222/1.8, allocations: 333.6 kB / 1.304 GB, free: 9.164 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008798/1.801, allocations: 329.8 kB / 1.304 GB, free: 9.156 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001166/1.802, allocations: 0.7039 MB / 1.305 GB, free: 8.691 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001798/1.804, allocations: 0.9545 MB / 1.306 GB, free: 8.242 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/1.804, allocations: 5.531 kB / 1.306 GB, free: 8.242 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002616/1.807, allocations: 1.079 MB / 1.307 GB, free: 8.113 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/1.807, allocations: 14.12 kB / 1.307 GB, free: 8.109 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/1.807, allocations: 15.2 kB / 1.307 GB, free: 8.109 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.701e-05/1.807, allocations: 16.91 kB / 1.307 GB, free: 8.109 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008474/1.808, allocations: 209.5 kB / 1.307 GB, free: 8.102 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.298e-05/1.808, allocations: 25.73 kB / 1.307 GB, free: 8.098 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/1.809, allocations: 199 kB / 1.307 GB, free: 8.027 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.582e-05/1.809, allocations: 41.39 kB / 1.307 GB, free: 8.027 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00129/1.811, allocations: 0.5768 MB / 1.308 GB, free: 7.938 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001111/1.812, allocations: 0.7005 MB / 1.309 GB, free: 7.457 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001903/1.814, allocations: 0.9537 MB / 1.31 GB, free: 7.008 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.953e-06/1.814, allocations: 9 kB / 1.31 GB, free: 7.008 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002933/1.817, allocations: 1.067 MB / 1.311 GB, free: 6.883 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/1.817, allocations: 14.69 kB / 1.311 GB, free: 6.879 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/1.817, allocations: 10.12 kB / 1.311 GB, free: 6.879 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/1.817, allocations: 20.38 kB / 1.311 GB, free: 6.875 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008675/1.818, allocations: 211.5 kB / 1.311 GB, free: 6.871 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-05/1.818, allocations: 21.41 kB / 1.311 GB, free: 6.871 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001645/1.819, allocations: 147.1 kB / 1.311 GB, free: 6.84 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-05/1.819, allocations: 43.92 kB / 1.311 GB, free: 6.84 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.0002884/1.82, allocations: 238.2 kB / 1.311 GB, free: 6.648 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002646/1.82, allocations: 144.1 kB / 1.311 GB, free: 6.574 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001878/1.822, allocations: 0.6601 MB / 1.312 GB, free: 6.488 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/1.822, allocations: 2.281 kB / 1.312 GB, free: 6.488 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/1.822, allocations: 2.531 kB / 1.312 GB, free: 6.488 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/1.822, allocations: 6.953 kB / 1.312 GB, free: 6.484 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003706/1.826, allocations: 1.915 MB / 1.314 GB, free: 5.996 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/1.826, allocations: 3.188 kB / 1.314 GB, free: 5.996 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005469/1.826, allocations: 99.86 kB / 1.314 GB, free: 5.992 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.111e-05/1.826, allocations: 5.25 kB / 1.314 GB, free: 5.992 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.331e-05/1.826, allocations: 19.56 kB / 1.314 GB, free: 5.988 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.955e-06/1.826, allocations: 10.03 kB / 1.314 GB, free: 5.988 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/1.826, allocations: 5.25 kB / 1.314 GB, free: 5.988 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001919/1.828, allocations: 0.8143 MB / 1.315 GB, free: 5.633 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006863/1.829, allocations: 303.5 kB / 1.315 GB, free: 5.457 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002/1.829, allocations: 8.656 kB / 1.315 GB, free: 5.457 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/1.83, allocations: 68.66 kB / 1.315 GB, free: 5.453 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.941e-05/1.83, allocations: 43.02 kB / 1.315 GB, free: 5.445 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.153e-05/1.83, allocations: 19.06 kB / 1.315 GB, free: 5.445 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001571/1.832, allocations: 1.016 MB / 1.316 GB, free: 5.332 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.31e-07/1.832, allocations: 0 / 1.316 GB, free: 5.332 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00201/1.834, allocations: 0.5764 MB / 1.317 GB, free: 5.285 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.0005891/1.835, allocations: 266.3 kB / 1.317 GB, free: 5.16 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003045/1.838, allocations: 1.17 MB / 1.318 GB, free: 5.125 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/1.838, allocations: 0 / 1.318 GB, free: 5.125 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007092/1.838, allocations: 271 kB / 1.319 GB, free: 5.113 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003582/1.842, allocations: 0.7467 MB / 1.319 GB, free: 4.969 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004881/1.847, allocations: 2.29 MB / 1.322 GB, free: 3.98 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000694/1.848, allocations: 1.181 MB / 1.323 GB, free: 3.254 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001891/1.849, allocations: 391.1 kB / 1.323 GB, free: 3.156 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002611/1.85, allocations: 94.03 kB / 1.323 GB, free: 3.148 MB / 1.014 GB Notification: Performance of SimCode: time 8.51e-07/1.85, allocations: 3.188 kB / 1.323 GB, free: 3.148 MB / 1.014 GB Notification: Performance of Templates: time 0.04332/1.893, allocations: 25.07 MB / 1.348 GB, free: 12.29 MB / 1.029 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches