Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009607/0.0009607, allocations: 173 kB / 23.49 MB, free: 1.059 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9519/0.9519, allocations: 177.1 MB / 203.8 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.036/2.036, allocations: 429.5 MB / 0.6736 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|a|b",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|a|b",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example8") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.8782 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.542e-05/1.687e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.0009567/0.0009736, allocations: 0.5556 MB / 0.8787 GB, free: 6.102 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001031/0.001077, allocations: 11.92 kB / 0.8787 GB, free: 6.09 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.309e-05/0.0011, allocations: 1.859 kB / 0.8787 GB, free: 6.09 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.446e-05/0.001114, allocations: 0 / 0.8787 GB, free: 6.09 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001359/0.00125, allocations: 3.109 kB / 0.8787 GB, free: 6.09 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 3.016e-06/0.001253, allocations: 3.938 kB / 0.8787 GB, free: 6.086 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.421e-05/0.001307, allocations: 13.08 kB / 0.8787 GB, free: 6.074 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.804e-05/0.001345, allocations: 0 / 0.8787 GB, free: 6.074 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.617e-05/0.001402, allocations: 9.188 kB / 0.8788 GB, free: 6.066 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.661e-05/0.001438, allocations: 3.938 kB / 0.8788 GB, free: 6.062 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.001454, allocations: 2.406 kB / 0.8788 GB, free: 6.062 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.42e-06/0.00146, allocations: 0 / 0.8788 GB, free: 6.062 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.15e-05/0.001471, allocations: 4 kB / 0.8788 GB, free: 6.059 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.296e-05/0.001484, allocations: 0 / 0.8788 GB, free: 6.059 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 4.812e-05/0.001532, allocations: 3.984 kB / 0.8788 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.001534, allocations: 0 / 0.8788 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.12e-07/0.001535, allocations: 0 / 0.8788 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.888e-06/0.001539, allocations: 0.7188 kB / 0.8788 GB, free: 6.055 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003888/0.001928, allocations: 346.4 kB / 0.8791 GB, free: 5.68 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.001966, allocations: 8.031 kB / 0.8791 GB, free: 5.672 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.403e-05/0.002, allocations: 4.891 kB / 0.8791 GB, free: 5.668 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.931e-05/0.002069, allocations: 108.6 kB / 0.8792 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.002081, allocations: 4.359 kB / 0.8792 GB, free: 5.531 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-06/0.002089, allocations: 0.875 kB / 0.8792 GB, free: 5.531 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.318e-05/0.002182, allocations: 50.92 kB / 0.8793 GB, free: 5.469 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.002188, allocations: 192 / 0.8793 GB, free: 5.469 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.002196, allocations: 384 / 0.8793 GB, free: 5.469 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.002203, allocations: 1.969 kB / 0.8793 GB, free: 5.469 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.997e-05/0.002223, allocations: 11.94 kB / 0.8793 GB, free: 5.457 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000107/0.00233, allocations: 124.2 kB / 0.8794 GB, free: 5.297 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.055e-05/0.002381, allocations: 58.19 kB / 0.8795 GB, free: 5.215 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.067e-05/0.002402, allocations: 19.38 kB / 0.8795 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.00242, allocations: 64 / 0.8795 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.002439, allocations: 37.39 kB / 0.8795 GB, free: 5.141 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.00244, allocations: 0 / 0.8795 GB, free: 5.141 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001301/0.00257, allocations: 45.62 kB / 0.8796 GB, free: 5.09 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.002605, allocations: 81.11 kB / 0.8796 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.071e-05/0.002676, allocations: 153.9 kB / 0.8798 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.002684, allocations: 29.64 kB / 0.8798 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.673e-05/0.002711, allocations: 127.2 kB / 0.8799 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.002735, allocations: 11.95 kB / 0.8799 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.318e-05/0.002759, allocations: 19.38 kB / 0.88 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.002859, allocations: 496.1 kB / 0.8804 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.327e-06/0.002868, allocations: 4 kB / 0.8804 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.324e-05/0.002881, allocations: 15.38 kB / 0.8805 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.792e-05/0.002909, allocations: 27.38 kB / 0.8805 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.002911, allocations: 0 / 0.8805 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.67e-05/0.002958, allocations: 49.7 kB / 0.8805 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.002969, allocations: 4 kB / 0.8805 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.002974, allocations: 4 kB / 0.8805 GB, free: 4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.002986, allocations: 0 / 0.8805 GB, free: 4 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.266e-05/0.003048, allocations: 4 kB / 0.8805 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.003054, allocations: 0 / 0.8805 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.08e-05/0.003065, allocations: 3.938 kB / 0.8805 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.00307, allocations: 0 / 0.8805 GB, free: 3.992 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 5.724e-05/0.003127, allocations: 160.6 kB / 0.8807 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.913e-06/0.003134, allocations: 7.922 kB / 0.8807 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.467e-05/0.003219, allocations: 44.73 kB / 0.8807 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.003222, allocations: 3.984 kB / 0.8807 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.003225, allocations: 4 kB / 0.8808 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.003229, allocations: 3.938 kB / 0.8808 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.029e-05/0.003289, allocations: 104.6 kB / 0.8809 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.003292, allocations: 8 kB / 0.8809 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.352e-05/0.003305, allocations: 3.938 kB / 0.8809 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.003308, allocations: 4 kB / 0.8809 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.281e-06/0.003314, allocations: 3.938 kB / 0.8809 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.003315, allocations: 4.062 kB / 0.8809 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.003316, allocations: 0 / 0.8809 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.913e-05/0.003375, allocations: 88.06 kB / 0.881 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.212e-05/0.003407, allocations: 3.953 kB / 0.881 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.003417, allocations: 7.984 kB / 0.881 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.743e-06/0.003424, allocations: 0 / 0.881 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.32e-05/0.003437, allocations: 0 / 0.881 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-06/0.003439, allocations: 0 / 0.881 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.419e-05/0.003473, allocations: 135.1 kB / 0.8811 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.1e-08/0.003473, allocations: 0 / 0.8811 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001229/0.003596, allocations: 4.125 kB / 0.8811 GB, free: 3.332 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 6.262e-05/0.003659, allocations: 91.25 kB / 0.8812 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.746e-05/0.003726, allocations: 19.67 kB / 0.8812 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.003728, allocations: 0 / 0.8812 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.01e-05/0.003738, allocations: 15.62 kB / 0.8812 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.746e-05/0.003835, allocations: 4 kB / 0.8812 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001707/0.004006, allocations: 98.25 kB / 0.8813 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.764e-05/0.004034, allocations: 59.59 kB / 0.8814 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.5e-05/0.004049, allocations: 0 / 0.8814 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.924e-05/0.004068, allocations: 12.5 kB / 0.8814 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of SimCode: time 6.02e-07/0.004068, allocations: 0 / 0.8814 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of Templates: time 0.001413/0.005481, allocations: 217.6 kB / 0.8816 GB, free: 2.758 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example8.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0647833230905235]