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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 113 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 225.6 MB / 249.4 MB, free: 3.258 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.881/2.881, allocations: 496.2 MB / 0.7819 GB, free: 12.29 MB / 0.6231 GB " [Timeout remaining time 176] 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.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 0.002001/0.002001, allocations: 63.89 kB / 1.136 GB, free: 12.48 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.231/1.233, allocations: 173.6 MB / 1.305 GB, free: 33.39 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001577/1.235, allocations: 0.5312 MB / 1.306 GB, free: 33.07 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001358/1.235, allocations: 22.48 kB / 1.306 GB, free: 33.05 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.25e-05/1.235, allocations: 2.844 kB / 1.306 GB, free: 33.05 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.42e-05/1.235, allocations: 0 / 1.306 GB, free: 33.05 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000158/1.235, allocations: 7.984 kB / 1.306 GB, free: 33.05 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.498e-06/1.235, allocations: 0 / 1.306 GB, free: 33.05 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.284e-05/1.235, allocations: 13.98 kB / 1.306 GB, free: 33.04 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.905e-05/1.235, allocations: 2.844 kB / 1.306 GB, free: 33.04 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.728e-05/1.235, allocations: 4 kB / 1.306 GB, free: 33.04 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.957e-05/1.235, allocations: 2.781 kB / 1.306 GB, free: 33.04 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/1.235, allocations: 0 / 1.306 GB, free: 33.04 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.392e-06/1.235, allocations: 0 / 1.306 GB, free: 33.04 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.169e-05/1.235, allocations: 0 / 1.306 GB, free: 33.04 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.54e-05/1.235, allocations: 3.938 kB / 1.306 GB, free: 33.03 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 5.191e-05/1.235, allocations: 6.734 kB / 1.306 GB, free: 33.03 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.361e-06/1.235, allocations: 7.469 kB / 1.306 GB, free: 33.02 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.312e-06/1.235, allocations: 0 / 1.306 GB, free: 33.02 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.088e-05/1.235, allocations: 0 / 1.306 GB, free: 33.02 MB / 1.061 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.0002652/1.236, allocations: 316.5 kB / 1.306 GB, free: 32.67 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/1.236, allocations: 7.75 kB / 1.306 GB, free: 32.67 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.166e-05/1.236, allocations: 3.438 kB / 1.306 GB, free: 32.67 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.305e-05/1.236, allocations: 163.6 kB / 1.306 GB, free: 32.48 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/1.236, allocations: 4.375 kB / 1.306 GB, free: 32.47 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/1.236, allocations: 2.969 kB / 1.306 GB, free: 32.47 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.648e-05/1.236, allocations: 46.42 kB / 1.307 GB, free: 32.42 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/1.236, allocations: 192 / 1.307 GB, free: 32.42 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/1.236, allocations: 3.938 kB / 1.307 GB, free: 32.41 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/1.236, allocations: 2.625 kB / 1.307 GB, free: 32.41 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.254e-05/1.236, allocations: 5.969 kB / 1.307 GB, free: 32.41 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001262/1.236, allocations: 154.5 kB / 1.307 GB, free: 32.21 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.553e-05/1.236, allocations: 49.53 kB / 1.307 GB, free: 32.15 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.181e-05/1.236, allocations: 16.3 kB / 1.307 GB, free: 32.13 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/1.236, allocations: 0 / 1.307 GB, free: 32.13 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/1.236, allocations: 34.56 kB / 1.307 GB, free: 32.09 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/1.236, allocations: 0 / 1.307 GB, free: 32.09 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001359/1.236, allocations: 56.06 kB / 1.307 GB, free: 32.04 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/1.236, allocations: 77.11 kB / 1.307 GB, free: 31.95 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.836e-05/1.236, allocations: 96.73 kB / 1.307 GB, free: 31.85 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.753e-06/1.236, allocations: 25.7 kB / 1.307 GB, free: 31.82 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.362e-05/1.236, allocations: 80.14 kB / 1.307 GB, free: 31.73 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/1.236, allocations: 10.86 kB / 1.307 GB, free: 31.73 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-05/1.236, allocations: 9.719 kB / 1.307 GB, free: 31.71 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.541e-05/1.237, allocations: 321.2 kB / 1.307 GB, free: 31.39 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.538e-06/1.237, allocations: 0 / 1.307 GB, free: 31.39 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.045e-05/1.237, allocations: 12.66 kB / 1.307 GB, free: 31.38 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.776e-05/1.237, allocations: 19.31 kB / 1.307 GB, free: 31.36 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.237, allocations: 0 / 1.307 GB, free: 31.36 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.14e-05/1.237, allocations: 41.47 kB / 1.307 GB, free: 31.32 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/1.237, allocations: 15.5 kB / 1.308 GB, free: 31.32 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/1.237, allocations: 3.938 kB / 1.308 GB, free: 31.31 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/1.237, allocations: 2.875 kB / 1.308 GB, free: 31.31 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.769e-05/1.237, allocations: 2.875 kB / 1.308 GB, free: 31.31 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/1.237, allocations: 0 / 1.308 GB, free: 31.31 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.836e-05/1.237, allocations: 7.375 kB / 1.308 GB, free: 31.31 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/1.237, allocations: 2.812 kB / 1.308 GB, free: 31.31 MB / 1.061 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 4.335e-05/1.237, allocations: 105.8 kB / 1.308 GB, free: 31.2 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.728e-06/1.237, allocations: 2.906 kB / 1.308 GB, free: 31.2 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.138e-05/1.237, allocations: 60.5 kB / 1.308 GB, free: 31.14 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/1.237, allocations: 0 / 1.308 GB, free: 31.14 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/1.237, allocations: 0 / 1.308 GB, free: 31.14 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/1.237, allocations: 0 / 1.308 GB, free: 31.14 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.173e-05/1.237, allocations: 154.4 kB / 1.308 GB, free: 30.95 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/1.237, allocations: 2.969 kB / 1.308 GB, free: 30.95 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.988e-05/1.237, allocations: 3.125 kB / 1.308 GB, free: 30.95 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/1.237, allocations: 0 / 1.308 GB, free: 30.95 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/1.237, allocations: 15.94 kB / 1.308 GB, free: 30.93 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/1.237, allocations: 0 / 1.308 GB, free: 30.93 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.237, allocations: 6.484 kB / 1.308 GB, free: 30.93 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.008e-05/1.237, allocations: 63.25 kB / 1.308 GB, free: 30.86 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.821e-05/1.237, allocations: 80.34 kB / 1.308 GB, free: 30.77 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/1.237, allocations: 3.938 kB / 1.308 GB, free: 30.76 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.577e-05/1.237, allocations: 2.688 kB / 1.308 GB, free: 30.76 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.364e-05/1.237, allocations: 7.938 kB / 1.308 GB, free: 30.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/1.237, allocations: 2.469 kB / 1.308 GB, free: 30.75 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.76e-05/1.237, allocations: 75.28 kB / 1.308 GB, free: 30.68 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.237, allocations: 0 / 1.308 GB, free: 30.68 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000198/1.237, allocations: 2.531 kB / 1.308 GB, free: 30.68 MB / 1.061 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 8.053e-05/1.237, allocations: 97.27 kB / 1.308 GB, free: 30.59 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.643e-05/1.238, allocations: 13.91 kB / 1.308 GB, free: 30.58 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/1.238, allocations: 0 / 1.308 GB, free: 30.58 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.858e-06/1.238, allocations: 9.469 kB / 1.308 GB, free: 30.58 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001477/1.238, allocations: 0 / 1.308 GB, free: 30.58 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002054/1.238, allocations: 101.9 kB / 1.308 GB, free: 30.47 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.631e-05/1.238, allocations: 0.675 MB / 1.309 GB, free: 29.77 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.567e-05/1.238, allocations: 256 / 1.309 GB, free: 29.77 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.013e-05/1.238, allocations: 14.16 kB / 1.309 GB, free: 29.76 MB / 1.061 GB Notification: Performance of SimCode: time 5.31e-07/1.238, allocations: 0 / 1.309 GB, free: 29.76 MB / 1.061 GB Notification: Performance of Templates: time 0.002191/1.24, allocations: 202 kB / 1.309 GB, free: 29.7 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 400] 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: 9.39328066073358]