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.001027/0.001027, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001138/0.001138, allocations: 169 kB / 23.02 MB, free: 1.551 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.9767/0.9767, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.144/2.144, allocations: 429.5 MB / 0.6733 GB, free: 4 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.423e-06/1.423e-06, allocations: 0 / 0.8782 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.661e-05/1.803e-05, allocations: 6.25 kB / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.0009808/0.0009988, allocations: 0.5482 MB / 0.8787 GB, free: 5.797 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001098/0.001109, allocations: 19.86 kB / 0.8787 GB, free: 5.777 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.577e-05/0.001134, allocations: 4.562 kB / 0.8787 GB, free: 5.773 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.671e-05/0.001151, allocations: 0.875 kB / 0.8787 GB, free: 5.773 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001387/0.00129, allocations: 5.031 kB / 0.8787 GB, free: 5.77 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 3.116e-06/0.001293, allocations: 0 / 0.8787 GB, free: 5.77 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.43e-05/0.001337, allocations: 10.83 kB / 0.8787 GB, free: 5.762 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.693e-05/0.001374, allocations: 7.984 kB / 0.8787 GB, free: 5.754 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.836e-05/0.001422, allocations: 5.484 kB / 0.8787 GB, free: 5.75 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.448e-05/0.001457, allocations: 0.5469 kB / 0.8787 GB, free: 5.75 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.001469, allocations: 4.844 kB / 0.8787 GB, free: 5.75 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.932e-06/0.001475, allocations: 0 / 0.8787 GB, free: 5.75 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.528e-06/0.001484, allocations: 0 / 0.8787 GB, free: 5.75 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.389e-05/0.001498, allocations: 4.266 kB / 0.8788 GB, free: 5.746 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 4.368e-05/0.001542, allocations: 4 kB / 0.8788 GB, free: 5.742 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.001544, allocations: 0 / 0.8788 GB, free: 5.742 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.32e-07/0.001544, allocations: 0 / 0.8788 GB, free: 5.742 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.366e-06/0.001548, allocations: 0 / 0.8788 GB, free: 5.742 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.0002236/0.001771, allocations: 336.4 kB / 0.8791 GB, free: 5.375 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.001807, allocations: 8.031 kB / 0.8791 GB, free: 5.367 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.053e-05/0.001838, allocations: 9.234 kB / 0.8791 GB, free: 5.359 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.453e-05/0.001902, allocations: 110 kB / 0.8792 GB, free: 5.227 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.001912, allocations: 384 / 0.8792 GB, free: 5.227 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.001922, allocations: 4.375 kB / 0.8792 GB, free: 5.223 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.656e-05/0.002009, allocations: 54.56 kB / 0.8793 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.002018, allocations: 192 / 0.8793 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.002026, allocations: 1.438 kB / 0.8793 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.002033, allocations: 384 / 0.8793 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.904e-05/0.002052, allocations: 7.938 kB / 0.8793 GB, free: 5.148 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000107/0.002159, allocations: 121.4 kB / 0.8794 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.518e-05/0.002205, allocations: 58.11 kB / 0.8794 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.201e-05/0.002227, allocations: 24.62 kB / 0.8795 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.002247, allocations: 0 / 0.8795 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.002268, allocations: 37.39 kB / 0.8795 GB, free: 4.832 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 5.21e-07/0.002268, allocations: 0.7812 kB / 0.8795 GB, free: 4.832 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001156/0.002384, allocations: 47.28 kB / 0.8795 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.002413, allocations: 77.11 kB / 0.8796 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.284e-05/0.002476, allocations: 161.8 kB / 0.8798 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.002484, allocations: 26.2 kB / 0.8798 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.669e-05/0.00251, allocations: 126.9 kB / 0.8799 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.002534, allocations: 5.641 kB / 0.8799 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.46e-05/0.002558, allocations: 23.38 kB / 0.8799 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.002665, allocations: 492.1 kB / 0.8804 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.188e-06/0.002674, allocations: 3.984 kB / 0.8804 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.609e-05/0.00269, allocations: 24.5 kB / 0.8804 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.845e-05/0.002719, allocations: 24.22 kB / 0.8805 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.002721, allocations: 4 kB / 0.8805 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.741e-05/0.002769, allocations: 42.33 kB / 0.8805 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.002781, allocations: 9.578 kB / 0.8805 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.002785, allocations: 0 / 0.8805 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.0028, allocations: 0 / 0.8805 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.42e-05/0.002864, allocations: 4 kB / 0.8805 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.00287, allocations: 2.906 kB / 0.8805 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.27e-05/0.002882, allocations: 7.938 kB / 0.8805 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.002888, allocations: 0 / 0.8805 GB, free: 3.688 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.69e-05/0.002945, allocations: 156.6 kB / 0.8807 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-06/0.002951, allocations: 7.938 kB / 0.8807 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.749e-05/0.003038, allocations: 44.69 kB / 0.8807 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.00304, allocations: 1.625 kB / 0.8807 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.003043, allocations: 0 / 0.8807 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.003047, allocations: 3.938 kB / 0.8807 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.73e-05/0.003114, allocations: 112.6 kB / 0.8808 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.003115, allocations: 0.625 kB / 0.8808 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.606e-05/0.003131, allocations: 7.938 kB / 0.8808 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.003133, allocations: 0.5625 kB / 0.8809 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.003138, allocations: 4 kB / 0.8809 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.003139, allocations: 4 kB / 0.8809 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.003139, allocations: 0 / 0.8809 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.988e-05/0.003199, allocations: 88.05 kB / 0.8809 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.818e-05/0.003228, allocations: 7.953 kB / 0.8809 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.899e-06/0.003237, allocations: 0 / 0.8809 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-06/0.003244, allocations: 0 / 0.8809 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.381e-05/0.003258, allocations: 7.984 kB / 0.881 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-06/0.00326, allocations: 0 / 0.881 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.933e-05/0.003289, allocations: 127.1 kB / 0.8811 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.003289, allocations: 4.125 kB / 0.8811 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000119/0.003408, allocations: 4 kB / 0.8811 GB, free: 3.039 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.098e-05/0.003469, allocations: 95.25 kB / 0.8812 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.515e-05/0.003535, allocations: 11.69 kB / 0.8812 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.003536, allocations: 4 kB / 0.8812 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.067e-06/0.003545, allocations: 19.55 kB / 0.8812 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.616e-05/0.003642, allocations: 4 kB / 0.8812 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001981/0.00384, allocations: 98.55 kB / 0.8813 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.047e-05/0.00387, allocations: 55.36 kB / 0.8814 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.545e-05/0.003886, allocations: 3.984 kB / 0.8814 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.952e-05/0.003905, allocations: 8.5 kB / 0.8814 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of SimCode: time 4.9e-07/0.003906, allocations: 0 / 0.8814 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of Templates: time 0.001433/0.005339, allocations: 215.8 kB / 0.8816 GB, free: 2.469 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.328605692368001]