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.001435/0.001435, 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.001704/0.001704, allocations: 197 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.367/1.367, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.901/2.901, allocations: 472.6 MB / 0.7451 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001342, allocations: 60.27 kB / 0.912 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3447, 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.8583/1.203, allocations: 237.6 MB / 1.3 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02034/1.223, allocations: 15.79 MB / 1.316 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003149/1.227, allocations: 61.22 kB / 1.316 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003121/1.23, allocations: 1.038 MB / 1.317 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00836/1.238, allocations: 2.975 MB / 1.32 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004765/1.243, allocations: 1.672 MB / 1.321 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00544/1.248, allocations: 3.438 MB / 1.325 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002111/1.251, allocations: 1.286 MB / 1.326 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007005/1.258, allocations: 2.48 MB / 1.328 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002674/1.26, allocations: 1.075 MB / 1.329 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003439/1.261, allocations: 118.2 kB / 1.329 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006713/1.267, allocations: 3.1 MB / 1.332 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007909/1.268, allocations: 487.2 kB / 1.333 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001808/1.27, allocations: 0.8066 MB / 1.334 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005832/1.276, allocations: 2.931 MB / 1.337 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/1.276, allocations: 0 / 1.337 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.854e-06/1.276, allocations: 0 / 1.337 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.462e-05/1.276, allocations: 1.281 kB / 1.337 GB, free: 3.727 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.00378/1.28, allocations: 1.999 MB / 1.339 GB, free: 18.68 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/1.28, allocations: 10.03 kB / 1.339 GB, free: 18.68 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002702/1.282, allocations: 0.4977 MB / 1.339 GB, free: 18.58 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001978/1.284, allocations: 1.122 MB / 1.34 GB, free: 18.16 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008737/1.285, allocations: 243.6 kB / 1.34 GB, free: 18.15 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/1.286, allocations: 103 kB / 1.34 GB, free: 18.15 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002296/1.288, allocations: 1.359 MB / 1.342 GB, free: 17.78 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/1.288, allocations: 9.156 kB / 1.342 GB, free: 17.77 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/1.288, allocations: 46.95 kB / 1.342 GB, free: 17.77 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.072e-05/1.288, allocations: 43.75 kB / 1.342 GB, free: 17.77 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002309/1.29, allocations: 1.083 MB / 1.343 GB, free: 17.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.007703/1.298, allocations: 7.438 MB / 1.35 GB, free: 12.25 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/1.3, allocations: 0.5693 MB / 1.351 GB, free: 12.08 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006226/1.3, allocations: 270.8 kB / 1.351 GB, free: 12 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003966/1.301, allocations: 278.9 kB / 1.351 GB, free: 11.72 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/1.301, allocations: 40.16 kB / 1.351 GB, free: 11.68 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 2.996e-06/1.301, allocations: 4 kB / 1.351 GB, free: 11.67 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.002458/1.303, allocations: 0.8674 MB / 1.352 GB, free: 11.39 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/1.303, allocations: 54.66 kB / 1.352 GB, free: 11.32 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001713/1.305, allocations: 1.399 MB / 1.354 GB, free: 10.79 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.321e-05/1.305, allocations: 33.08 kB / 1.354 GB, free: 10.75 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005212/1.306, allocations: 0.7063 MB / 1.354 GB, free: 10.2 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/1.306, allocations: 118.9 kB / 1.354 GB, free: 10.11 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002427/1.306, allocations: 166.7 kB / 1.355 GB, free: 10.02 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001375/1.306, allocations: 343.3 kB / 1.355 GB, free: 9.695 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008775/1.307, allocations: 325.5 kB / 1.355 GB, free: 9.602 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001144/1.308, allocations: 0.7084 MB / 1.356 GB, free: 9.016 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001795/1.31, allocations: 0.9476 MB / 1.357 GB, free: 8.387 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/1.31, allocations: 5.031 kB / 1.357 GB, free: 8.387 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002544/1.313, allocations: 1.072 MB / 1.358 GB, free: 8.062 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/1.313, allocations: 8.5 kB / 1.358 GB, free: 8.062 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/1.313, allocations: 13.41 kB / 1.358 GB, free: 8.062 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.964e-05/1.313, allocations: 15.22 kB / 1.358 GB, free: 8.062 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008496/1.314, allocations: 212.8 kB / 1.358 GB, free: 8.051 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.946e-05/1.314, allocations: 22.06 kB / 1.358 GB, free: 8.051 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/1.315, allocations: 197.1 kB / 1.358 GB, free: 7.969 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.32e-05/1.315, allocations: 45.55 kB / 1.358 GB, free: 7.961 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001355/1.317, allocations: 0.5843 MB / 1.359 GB, free: 7.699 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001157/1.318, allocations: 0.7008 MB / 1.36 GB, free: 7.117 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001824/1.32, allocations: 0.9537 MB / 1.361 GB, free: 6.484 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.741e-06/1.32, allocations: 7.781 kB / 1.361 GB, free: 6.484 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002572/1.322, allocations: 1.075 MB / 1.362 GB, free: 6.156 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/1.322, allocations: 9.969 kB / 1.362 GB, free: 6.156 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/1.322, allocations: 15 kB / 1.362 GB, free: 6.152 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/1.322, allocations: 18.5 kB / 1.362 GB, free: 6.152 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008441/1.323, allocations: 210 kB / 1.362 GB, free: 6.141 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.847e-05/1.323, allocations: 25.84 kB / 1.362 GB, free: 6.137 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/1.325, allocations: 140.6 kB / 1.362 GB, free: 6.098 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.997e-05/1.325, allocations: 48.31 kB / 1.362 GB, free: 6.09 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.0002956/1.325, allocations: 244.2 kB / 1.362 GB, free: 5.875 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000232/1.325, allocations: 140.9 kB / 1.362 GB, free: 5.801 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001815/1.327, allocations: 0.662 MB / 1.363 GB, free: 5.547 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/1.327, allocations: 2.219 kB / 1.363 GB, free: 5.547 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/1.327, allocations: 0 / 1.363 GB, free: 5.547 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/1.327, allocations: 1.969 kB / 1.363 GB, free: 5.547 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003665/1.331, allocations: 1.926 MB / 1.365 GB, free: 4.609 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/1.331, allocations: 2.812 kB / 1.365 GB, free: 4.609 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005078/1.331, allocations: 96.39 kB / 1.365 GB, free: 4.605 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/1.331, allocations: 5.562 kB / 1.365 GB, free: 4.605 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.363e-05/1.331, allocations: 19.05 kB / 1.365 GB, free: 4.598 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/1.331, allocations: 4.875 kB / 1.365 GB, free: 4.598 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/1.331, allocations: 8.438 kB / 1.365 GB, free: 4.598 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/1.333, allocations: 0.8156 MB / 1.366 GB, free: 4.129 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005041/1.333, allocations: 299 kB / 1.366 GB, free: 3.91 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002003/1.334, allocations: 9.062 kB / 1.366 GB, free: 3.906 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/1.335, allocations: 78.16 kB / 1.366 GB, free: 3.898 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.779e-05/1.335, allocations: 35.06 kB / 1.366 GB, free: 3.887 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.31e-05/1.335, allocations: 23.88 kB / 1.366 GB, free: 3.883 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001424/1.336, allocations: 1.008 MB / 1.367 GB, free: 3.504 MB / 1.014 GB Notification: Performance of sort global known variables: time 2e-07/1.336, allocations: 7.938 kB / 1.367 GB, free: 3.496 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001835/1.338, allocations: 0.5775 MB / 1.368 GB, free: 3.418 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.0006229/1.339, allocations: 264.3 kB / 1.368 GB, free: 3.277 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002979/1.342, allocations: 1.173 MB / 1.369 GB, free: 3.012 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.342, allocations: 3.031 kB / 1.369 GB, free: 3.012 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000689/1.343, allocations: 264.9 kB / 1.37 GB, free: 2.957 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003485/1.346, allocations: 0.7389 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.004931/1.351, allocations: 2.294 MB / 1.372 GB, free: 1.344 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007238/1.352, allocations: 1.181 MB / 1.374 GB, free: 420 kB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001671/1.353, allocations: 387.4 kB / 1.374 GB, free: 228 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002354/1.354, allocations: 102.2 kB / 1.374 GB, free: 212 kB / 1.014 GB Notification: Performance of SimCode: time 6.52e-07/1.354, allocations: 0 / 1.374 GB, free: 212 kB / 1.014 GB Notification: Performance of Templates: time 0.04385/1.397, allocations: 25.04 MB / 1.399 GB, free: 15.42 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