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.002369/0.002369, allocations: 88.72 kB / 19.44 MB, free: 356 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.002562/0.002562, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.516/1.516, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 3.226/3.226, allocations: 429.6 MB / 0.673 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 176] 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.673e-06/1.673e-06, allocations: 0 / 0.8776 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.612e-05/2.779e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.512 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001676/0.001703, allocations: 0.5446 MB / 0.8781 GB, free: 5.992 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001265/0.00183, allocations: 15.97 kB / 0.8781 GB, free: 5.977 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.727e-05/0.001857, allocations: 5.031 kB / 0.8781 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.283e-05/0.00187, allocations: 0 / 0.8781 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001364/0.002006, allocations: 5.094 kB / 0.8781 GB, free: 5.969 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 3.516e-06/0.00201, allocations: 1.031 kB / 0.8781 GB, free: 5.969 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.983e-05/0.00206, allocations: 5.531 kB / 0.8781 GB, free: 5.965 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.807e-05/0.002098, allocations: 3.984 kB / 0.8781 GB, free: 5.961 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.171e-05/0.002149, allocations: 5.25 kB / 0.8781 GB, free: 5.957 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.637e-05/0.002186, allocations: 4 kB / 0.8781 GB, free: 5.953 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.002198, allocations: 1.062 kB / 0.8781 GB, free: 5.953 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.189e-06/0.002203, allocations: 0 / 0.8781 GB, free: 5.953 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.258e-06/0.002213, allocations: 0 / 0.8781 GB, free: 5.953 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.646e-05/0.002229, allocations: 1.094 kB / 0.8781 GB, free: 5.953 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 4.619e-05/0.002275, allocations: 7.938 kB / 0.8782 GB, free: 5.945 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.002277, allocations: 0 / 0.8782 GB, free: 5.945 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.12e-07/0.002278, allocations: 0.7188 kB / 0.8782 GB, free: 5.945 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.117e-06/0.002282, allocations: 0 / 0.8782 GB, free: 5.945 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.0003181/0.0026, allocations: 240 kB / 0.8784 GB, free: 5.68 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.002641, allocations: 8.031 kB / 0.8784 GB, free: 5.672 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.095e-05/0.002682, allocations: 12.81 kB / 0.8784 GB, free: 5.66 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.002789, allocations: 105.8 kB / 0.8785 GB, free: 5.531 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.0028, allocations: 1.25 kB / 0.8785 GB, free: 5.531 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.002811, allocations: 4.375 kB / 0.8785 GB, free: 5.527 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.002915, allocations: 49.06 kB / 0.8786 GB, free: 5.469 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.002922, allocations: 192 / 0.8786 GB, free: 5.469 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.353e-06/0.00293, allocations: 384 / 0.8786 GB, free: 5.469 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.002934, allocations: 0.9062 kB / 0.8786 GB, free: 5.469 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.897e-05/0.002963, allocations: 12.53 kB / 0.8786 GB, free: 5.457 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001466/0.003109, allocations: 106.2 kB / 0.8787 GB, free: 5.32 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.396e-05/0.003173, allocations: 34.72 kB / 0.8787 GB, free: 5.27 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.355e-05/0.003217, allocations: 21.77 kB / 0.8787 GB, free: 5.242 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.00324, allocations: 0 / 0.8787 GB, free: 5.242 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.003278, allocations: 41.88 kB / 0.8788 GB, free: 5.195 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 6.61e-07/0.003278, allocations: 0 / 0.8788 GB, free: 5.195 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001589/0.003437, allocations: 37.64 kB / 0.8788 GB, free: 5.152 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.716e-05/0.003504, allocations: 89.09 kB / 0.8789 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.474e-05/0.003589, allocations: 93.8 kB / 0.879 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.003609, allocations: 25.7 kB / 0.879 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.573e-05/0.003654, allocations: 80.14 kB / 0.8791 GB, free: 4.832 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.003679, allocations: 9.109 kB / 0.8791 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.751e-05/0.003716, allocations: 13.72 kB / 0.8791 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.00389, allocations: 314.8 kB / 0.8794 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.339e-05/0.003903, allocations: 5.562 kB / 0.8794 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.464e-05/0.003928, allocations: 13.7 kB / 0.8794 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.012e-05/0.003968, allocations: 26.75 kB / 0.8794 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.00397, allocations: 0 / 0.8794 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.459e-05/0.004044, allocations: 38.08 kB / 0.8795 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.00406, allocations: 12.06 kB / 0.8795 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.004064, allocations: 0 / 0.8795 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.004081, allocations: 0 / 0.8795 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.992e-05/0.004151, allocations: 11.98 kB / 0.8795 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.004155, allocations: 0 / 0.8795 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.915e-05/0.004174, allocations: 3.938 kB / 0.8795 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.004189, allocations: 4 kB / 0.8795 GB, free: 4.359 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 8.836e-05/0.004277, allocations: 109.8 kB / 0.8796 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.779e-06/0.004287, allocations: 3.938 kB / 0.8796 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/0.004411, allocations: 56.62 kB / 0.8797 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.004413, allocations: 0 / 0.8797 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.004416, allocations: 0 / 0.8797 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.004424, allocations: 7.922 kB / 0.8797 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.004534, allocations: 101.3 kB / 0.8798 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.004535, allocations: 0 / 0.8798 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.614e-05/0.004561, allocations: 4 kB / 0.8798 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.004563, allocations: 0 / 0.8798 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-06/0.004569, allocations: 0 / 0.8798 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.00457, allocations: 0 / 0.8798 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.004571, allocations: 4 kB / 0.8798 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.004672, allocations: 77.92 kB / 0.8799 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.131e-05/0.004703, allocations: 4 kB / 0.8799 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.889e-06/0.004713, allocations: 0 / 0.8799 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.614e-05/0.004729, allocations: 0 / 0.8799 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.551e-05/0.004745, allocations: 4 kB / 0.8799 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.004747, allocations: 0 / 0.8799 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.565e-05/0.004803, allocations: 87.2 kB / 0.8799 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.004803, allocations: 0 / 0.8799 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001903/0.004993, allocations: 4 kB / 0.88 GB, free: 3.836 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 0.0002341/0.005227, allocations: 95.38 kB / 0.88 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.063e-05/0.005298, allocations: 11.94 kB / 0.8801 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.005299, allocations: 0 / 0.8801 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.118e-05/0.00531, allocations: 4 kB / 0.8801 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.005453, allocations: 6.5 kB / 0.8801 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002596/0.005712, allocations: 89.75 kB / 0.8802 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.363e-05/0.005776, allocations: 59.22 kB / 0.8802 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.905e-05/0.005805, allocations: 16.17 kB / 0.8802 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.994e-05/0.005835, allocations: 8.5 kB / 0.8802 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of SimCode: time 3.51e-07/0.005835, allocations: 0 / 0.8802 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of Templates: time 0.002368/0.008203, allocations: 224.1 kB / 0.8804 GB, free: 3.281 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.111224957974628]