Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.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.001002/0.001002, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009792/0.0009792, allocations: 169 kB / 23.02 MB, free: 1.555 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.9662/0.9662, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.098/2.098, allocations: 429.5 MB / 0.6732 GB, free: 4.066 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.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example5") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.215e-06/2.215e-06, allocations: 0.875 kB / 0.8781 GB, free: 6.355 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.655e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.352 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001241/0.001267, allocations: 0.5672 MB / 0.8787 GB, free: 5.805 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001446/0.001412, allocations: 41.45 kB / 0.8787 GB, free: 5.766 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.294e-05/0.001455, allocations: 0 / 0.8787 GB, free: 5.766 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.338e-05/0.001488, allocations: 1.219 kB / 0.8787 GB, free: 5.766 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.001615, allocations: 0.9844 kB / 0.8787 GB, free: 5.766 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.565e-05/0.00166, allocations: 15.92 kB / 0.8788 GB, free: 5.75 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.953e-05/0.00171, allocations: 7.219 kB / 0.8788 GB, free: 5.746 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.867e-05/0.001749, allocations: 3.984 kB / 0.8788 GB, free: 5.742 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.192e-05/0.001801, allocations: 11.92 kB / 0.8788 GB, free: 5.73 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.179e-05/0.001862, allocations: 9.125 kB / 0.8788 GB, free: 5.723 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.001878, allocations: 0 / 0.8788 GB, free: 5.723 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.113e-06/0.001886, allocations: 4 kB / 0.8788 GB, free: 5.719 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.255e-05/0.001928, allocations: 5.078 kB / 0.8788 GB, free: 5.715 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.275e-05/0.001951, allocations: 7.938 kB / 0.8788 GB, free: 5.707 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 6.596e-05/0.002017, allocations: 11.92 kB / 0.8788 GB, free: 5.695 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.002019, allocations: 1.062 kB / 0.8788 GB, free: 5.695 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.152e-06/0.00202, allocations: 0 / 0.8788 GB, free: 5.695 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.002025, allocations: 0 / 0.8788 GB, free: 5.695 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003235/0.002348, allocations: 357.4 kB / 0.8792 GB, free: 5.309 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.002384, allocations: 8.031 kB / 0.8792 GB, free: 5.301 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.056e-05/0.002415, allocations: 10.52 kB / 0.8792 GB, free: 5.293 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.002534, allocations: 116.6 kB / 0.8793 GB, free: 5.152 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.002542, allocations: 4.375 kB / 0.8793 GB, free: 5.148 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.002562, allocations: 4.375 kB / 0.8793 GB, free: 5.145 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.118e-05/0.002623, allocations: 31.3 kB / 0.8793 GB, free: 5.109 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.35e-06/0.002629, allocations: 192 / 0.8793 GB, free: 5.109 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.002637, allocations: 1.469 kB / 0.8793 GB, free: 5.109 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.002643, allocations: 384 / 0.8793 GB, free: 5.109 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.138e-05/0.002655, allocations: 7.938 kB / 0.8793 GB, free: 5.102 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000174/0.002829, allocations: 117.3 kB / 0.8794 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.376e-05/0.002863, allocations: 23.59 kB / 0.8795 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.421e-05/0.002877, allocations: 7.688 kB / 0.8795 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.002892, allocations: 5.656 kB / 0.8795 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.00291, allocations: 37.33 kB / 0.8795 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 7.22e-07/0.002911, allocations: 0 / 0.8795 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001126/0.003024, allocations: 40.73 kB / 0.8796 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.00305, allocations: 59.41 kB / 0.8796 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.551e-05/0.003135, allocations: 173.9 kB / 0.8798 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.225e-06/0.003144, allocations: 25.7 kB / 0.8798 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.819e-05/0.003182, allocations: 126.9 kB / 0.8799 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.003202, allocations: 3.938 kB / 0.8799 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-05/0.003227, allocations: 23.38 kB / 0.88 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.003337, allocations: 0.4884 MB / 0.8804 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.119e-05/0.003348, allocations: 1.438 kB / 0.8804 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.06e-05/0.003369, allocations: 23.31 kB / 0.8805 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.322e-05/0.003402, allocations: 23.94 kB / 0.8805 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.003404, allocations: 1.625 kB / 0.8805 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.5e-05/0.003459, allocations: 45.58 kB / 0.8805 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.003471, allocations: 4 kB / 0.8805 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.003476, allocations: 4 kB / 0.8805 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.00349, allocations: 4.984 kB / 0.8805 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.125e-05/0.003552, allocations: 4 kB / 0.8805 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.003556, allocations: 0.5312 kB / 0.8805 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.43e-05/0.003571, allocations: 3.938 kB / 0.8805 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.003576, allocations: 4.25 kB / 0.8805 GB, free: 3.723 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 6.326e-05/0.003639, allocations: 164.6 kB / 0.8807 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.49e-06/0.003644, allocations: 0 / 0.8807 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.247e-05/0.003727, allocations: 49.09 kB / 0.8807 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.003728, allocations: 0 / 0.8807 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.003732, allocations: 0 / 0.8807 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.003735, allocations: 3.938 kB / 0.8808 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.788e-05/0.003803, allocations: 120.6 kB / 0.8809 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.003804, allocations: 0 / 0.8809 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.07e-05/0.003845, allocations: 3.984 kB / 0.8809 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.003848, allocations: 8.031 kB / 0.8809 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.003859, allocations: 0 / 0.8809 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.00386, allocations: 0 / 0.8809 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.003861, allocations: 0 / 0.8809 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.989e-05/0.003951, allocations: 85.08 kB / 0.881 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.769e-05/0.003969, allocations: 4 kB / 0.881 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.427e-06/0.003978, allocations: 0 / 0.881 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.967e-06/0.003987, allocations: 3.938 kB / 0.881 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.234e-05/0.003999, allocations: 0 / 0.881 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-06/0.004004, allocations: 7.984 kB / 0.881 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001648/0.004169, allocations: 131.5 kB / 0.8811 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8.1e-08/0.004169, allocations: 0 / 0.8811 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001203/0.004289, allocations: 15.88 kB / 0.8811 GB, free: 3.066 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 7.076e-05/0.00436, allocations: 91.25 kB / 0.8812 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.306e-05/0.004423, allocations: 15.67 kB / 0.8812 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.004426, allocations: 4 kB / 0.8812 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.061e-05/0.004436, allocations: 11.62 kB / 0.8812 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001128/0.004549, allocations: 8 kB / 0.8812 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002126/0.004762, allocations: 110.6 kB / 0.8813 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.066e-05/0.004792, allocations: 59.34 kB / 0.8814 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.708e-05/0.004809, allocations: 0 / 0.8814 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.205e-05/0.004831, allocations: 8.5 kB / 0.8814 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of SimCode: time 6.82e-07/0.004832, allocations: 0 / 0.8814 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of Templates: time 0.001849/0.006681, allocations: 363.5 kB / 0.8818 GB, free: 2.348 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example5.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.337259496096522]