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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001268/0.001268, allocations: 108 kB / 15.61 MB, free: 152 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.001243/0.001243, allocations: 196.9 kB / 16.53 MB, free: 6.664 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.419/1.419, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.877/2.877, allocations: 472.6 MB / 0.7451 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 63.22 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3428, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.8513/1.194, allocations: 237.6 MB / 1.3 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01869/1.213, allocations: 15.79 MB / 1.316 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002942/1.216, allocations: 60.78 kB / 1.316 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002668/1.218, allocations: 1.042 MB / 1.317 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007746/1.226, allocations: 2.977 MB / 1.32 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004371/1.231, allocations: 1.666 MB / 1.321 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004942/1.236, allocations: 3.43 MB / 1.325 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001895/1.238, allocations: 1.293 MB / 1.326 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006064/1.244, allocations: 2.474 MB / 1.328 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002529/1.246, allocations: 1.08 MB / 1.329 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003464/1.247, allocations: 119.4 kB / 1.329 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006473/1.253, allocations: 3.106 MB / 1.332 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007132/1.254, allocations: 478.2 kB / 1.333 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001376/1.255, allocations: 0.8092 MB / 1.334 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005017/1.26, allocations: 2.927 MB / 1.337 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/1.26, allocations: 1.344 kB / 1.337 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.512e-06/1.26, allocations: 0 / 1.337 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.681e-05/1.26, allocations: 4 kB / 1.337 GB, free: 3.695 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.003795/1.264, allocations: 1.999 MB / 1.338 GB, free: 18.65 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/1.264, allocations: 16.03 kB / 1.338 GB, free: 18.65 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00287/1.267, allocations: 0.4963 MB / 1.339 GB, free: 18.55 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002175/1.269, allocations: 1.114 MB / 1.34 GB, free: 18.14 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009183/1.27, allocations: 242.6 kB / 1.34 GB, free: 18.12 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/1.27, allocations: 104.2 kB / 1.34 GB, free: 18.12 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002323/1.273, allocations: 1.364 MB / 1.342 GB, free: 17.75 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/1.273, allocations: 7.875 kB / 1.342 GB, free: 17.75 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.926e-05/1.273, allocations: 40.72 kB / 1.342 GB, free: 17.75 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.713e-05/1.273, allocations: 45.41 kB / 1.342 GB, free: 17.75 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002356/1.275, allocations: 1.085 MB / 1.343 GB, free: 17.72 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.007879/1.283, allocations: 7.438 MB / 1.35 GB, free: 12.26 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001704/1.285, allocations: 0.5681 MB / 1.351 GB, free: 12.09 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006471/1.285, allocations: 271.6 kB / 1.351 GB, free: 12.01 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003952/1.286, allocations: 287.5 kB / 1.351 GB, free: 11.72 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/1.286, allocations: 33.34 kB / 1.351 GB, free: 11.68 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 2.405e-06/1.286, allocations: 2.406 kB / 1.351 GB, free: 11.68 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.002515/1.288, allocations: 0.8673 MB / 1.352 GB, free: 11.4 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/1.288, allocations: 57.66 kB / 1.352 GB, free: 11.33 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00178/1.29, allocations: 1.396 MB / 1.354 GB, free: 10.8 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.96e-05/1.29, allocations: 31.98 kB / 1.354 GB, free: 10.76 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005338/1.291, allocations: 0.7092 MB / 1.354 GB, free: 10.2 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/1.291, allocations: 115.4 kB / 1.354 GB, free: 10.12 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002542/1.291, allocations: 169.9 kB / 1.355 GB, free: 10.02 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001399/1.291, allocations: 340.3 kB / 1.355 GB, free: 9.703 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009097/1.292, allocations: 324.3 kB / 1.355 GB, free: 9.613 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/1.294, allocations: 0.7044 MB / 1.356 GB, free: 9.023 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001887/1.295, allocations: 0.9484 MB / 1.357 GB, free: 8.398 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.847e-06/1.295, allocations: 2.531 kB / 1.357 GB, free: 8.398 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002586/1.298, allocations: 1.077 MB / 1.358 GB, free: 8.07 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/1.298, allocations: 11.16 kB / 1.358 GB, free: 8.07 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/1.298, allocations: 10.66 kB / 1.358 GB, free: 8.07 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/1.298, allocations: 20.5 kB / 1.358 GB, free: 8.066 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008862/1.299, allocations: 218 kB / 1.358 GB, free: 8.055 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/1.299, allocations: 18.02 kB / 1.358 GB, free: 8.055 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/1.301, allocations: 195.5 kB / 1.358 GB, free: 7.973 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.601e-05/1.301, allocations: 43.34 kB / 1.358 GB, free: 7.969 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001358/1.302, allocations: 0.5782 MB / 1.359 GB, free: 7.711 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001165/1.303, allocations: 0.71 MB / 1.36 GB, free: 7.125 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001799/1.305, allocations: 0.9596 MB / 1.361 GB, free: 6.484 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.362e-06/1.305, allocations: 6.609 kB / 1.361 GB, free: 6.48 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002474/1.307, allocations: 1.069 MB / 1.362 GB, free: 6.16 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/1.308, allocations: 10.75 kB / 1.362 GB, free: 6.16 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/1.308, allocations: 10.09 kB / 1.362 GB, free: 6.16 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/1.308, allocations: 16.47 kB / 1.362 GB, free: 6.16 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008234/1.308, allocations: 213.6 kB / 1.362 GB, free: 6.148 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.72e-05/1.308, allocations: 25.64 kB / 1.362 GB, free: 6.148 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/1.31, allocations: 137.3 kB / 1.362 GB, free: 6.109 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.82e-05/1.31, allocations: 43.23 kB / 1.362 GB, free: 6.105 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.000313/1.31, allocations: 244.7 kB / 1.362 GB, free: 5.887 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002333/1.31, allocations: 142.9 kB / 1.362 GB, free: 5.812 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001838/1.312, allocations: 0.6594 MB / 1.363 GB, free: 5.562 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/1.312, allocations: 3.375 kB / 1.363 GB, free: 5.562 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/1.312, allocations: 0 / 1.363 GB, free: 5.562 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/1.312, allocations: 5.781 kB / 1.363 GB, free: 5.559 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003852/1.316, allocations: 1.929 MB / 1.365 GB, free: 4.621 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/1.316, allocations: 2.094 kB / 1.365 GB, free: 4.621 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005171/1.317, allocations: 100.8 kB / 1.365 GB, free: 4.617 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/1.317, allocations: 4.672 kB / 1.365 GB, free: 4.617 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.574e-05/1.317, allocations: 14.23 kB / 1.365 GB, free: 4.613 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.563e-06/1.317, allocations: 5.531 kB / 1.365 GB, free: 4.613 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/1.317, allocations: 6.125 kB / 1.365 GB, free: 4.613 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/1.318, allocations: 0.8259 MB / 1.366 GB, free: 4.137 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005531/1.319, allocations: 299.9 kB / 1.366 GB, free: 3.918 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002024/1.319, allocations: 7.188 kB / 1.366 GB, free: 3.914 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/1.32, allocations: 72.78 kB / 1.366 GB, free: 3.906 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.569e-05/1.32, allocations: 39.02 kB / 1.366 GB, free: 3.895 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.938e-05/1.32, allocations: 25.25 kB / 1.366 GB, free: 3.891 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001452/1.322, allocations: 1.012 MB / 1.367 GB, free: 3.504 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.11e-07/1.322, allocations: 0 / 1.367 GB, free: 3.504 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001864/1.324, allocations: 0.5812 MB / 1.368 GB, free: 3.422 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.0005999/1.324, allocations: 270.3 kB / 1.368 GB, free: 3.289 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002994/1.327, allocations: 1.17 MB / 1.369 GB, free: 3.023 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.327, allocations: 3.344 kB / 1.369 GB, free: 3.023 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006976/1.328, allocations: 268.6 kB / 1.369 GB, free: 2.965 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003504/1.332, allocations: 0.7498 MB / 1.37 GB, free: 2.723 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004961/1.337, allocations: 2.28 MB / 1.372 GB, free: 1.367 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007209/1.337, allocations: 1.185 MB / 1.374 GB, free: 440 kB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001743/1.339, allocations: 392.1 kB / 1.374 GB, free: 244 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/1.339, allocations: 94.14 kB / 1.374 GB, free: 236 kB / 1.014 GB Notification: Performance of SimCode: time 7.52e-07/1.339, allocations: 0 / 1.374 GB, free: 236 kB / 1.014 GB Notification: Performance of Templates: time 0.04361/1.383, allocations: 25.03 MB / 1.399 GB, free: 15.43 MB / 1.045 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