Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00077/0.00077, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001306/0.002076, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.00068/0.00068, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009308/0.001611, allocations: 479.5 kB / 11.83 MB, free: 2.344 MB / 13.93 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.8991/0.8991, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1167/1.016, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.723/1.723, allocations: 378.4 MB / 0.6079 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4437/2.167, allocations: 123.3 MB / 0.7283 GB, free: 5.723 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|a|b",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example8") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.7296 GB, free: 4.422 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.084e-05/1.248e-05, allocations: 2.312 kB / 0.7296 GB, free: 4.418 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.00148/0.001492, allocations: 0.594 MB / 0.7302 GB, free: 3.855 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 4.468e-05/0.001537, allocations: 21.84 kB / 0.7302 GB, free: 3.836 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.686e-05/0.001554, allocations: 0 / 0.7302 GB, free: 3.836 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.369e-06/0.001558, allocations: 0 / 0.7302 GB, free: 3.836 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.336e-05/0.001602, allocations: 5.297 kB / 0.7302 GB, free: 3.832 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 2.845e-06/0.001604, allocations: 2.969 kB / 0.7302 GB, free: 3.832 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 4.961e-05/0.001654, allocations: 5.75 kB / 0.7302 GB, free: 3.828 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.488e-05/0.001689, allocations: 4.547 kB / 0.7302 GB, free: 3.824 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.768e-05/0.001737, allocations: 9.734 kB / 0.7303 GB, free: 3.816 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.659e-05/0.001773, allocations: 4.594 kB / 0.7303 GB, free: 3.812 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.001789, allocations: 0 / 0.7303 GB, free: 3.812 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.551e-06/0.001795, allocations: 0 / 0.7303 GB, free: 3.812 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.223e-05/0.001807, allocations: 0.6562 kB / 0.7303 GB, free: 3.812 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.132e-05/0.001819, allocations: 5.266 kB / 0.7303 GB, free: 3.809 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 5.604e-05/0.001875, allocations: 2.281 kB / 0.7303 GB, free: 3.809 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.213e-05/0.001887, allocations: 0 / 0.7303 GB, free: 3.809 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.72e-07/0.001887, allocations: 0.875 kB / 0.7303 GB, free: 3.809 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.0019, allocations: 0 / 0.7303 GB, free: 3.809 MB / 0.698 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.0002618/0.002162, allocations: 225.2 kB / 0.7305 GB, free: 3.562 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.002201, allocations: 9.656 kB / 0.7305 GB, free: 3.555 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.027e-05/0.002231, allocations: 4.938 kB / 0.7305 GB, free: 3.551 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.352e-05/0.002305, allocations: 101.8 kB / 0.7306 GB, free: 3.426 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.002315, allocations: 384 / 0.7306 GB, free: 3.426 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.002326, allocations: 1.281 kB / 0.7306 GB, free: 3.426 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.492e-05/0.002411, allocations: 49.38 kB / 0.7306 GB, free: 3.367 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.002419, allocations: 4.625 kB / 0.7306 GB, free: 3.363 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.511e-06/0.002425, allocations: 6.125 kB / 0.7307 GB, free: 3.359 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.00243, allocations: 384 / 0.7307 GB, free: 3.359 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.275e-05/0.002443, allocations: 3.938 kB / 0.7307 GB, free: 3.355 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.104e-05/0.002524, allocations: 65.91 kB / 0.7307 GB, free: 3.273 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.523e-05/0.002569, allocations: 38.38 kB / 0.7308 GB, free: 3.219 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.591e-05/0.002585, allocations: 13.84 kB / 0.7308 GB, free: 3.199 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.002603, allocations: 0 / 0.7308 GB, free: 3.199 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.002627, allocations: 39.2 kB / 0.7308 GB, free: 3.152 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 6.61e-07/0.002627, allocations: 0 / 0.7308 GB, free: 3.152 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 9.443e-05/0.002722, allocations: 38.77 kB / 0.7308 GB, free: 3.109 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.002756, allocations: 81.89 kB / 0.7309 GB, free: 3.012 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.188e-05/0.002808, allocations: 99.58 kB / 0.731 GB, free: 2.902 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.818e-06/0.002817, allocations: 26.48 kB / 0.731 GB, free: 2.871 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.338e-05/0.002841, allocations: 84.14 kB / 0.7311 GB, free: 2.785 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.002866, allocations: 4.578 kB / 0.7311 GB, free: 2.781 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.487e-05/0.002891, allocations: 14.61 kB / 0.7311 GB, free: 2.762 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.01e-05/0.002971, allocations: 318.8 kB / 0.7314 GB, free: 2.441 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.295e-06/0.002979, allocations: 3.938 kB / 0.7315 GB, free: 2.438 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.503e-05/0.002994, allocations: 14.41 kB / 0.7315 GB, free: 2.418 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.849e-05/0.003023, allocations: 23.98 kB / 0.7315 GB, free: 2.391 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.003025, allocations: 0 / 0.7315 GB, free: 2.391 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.731e-05/0.003082, allocations: 38.36 kB / 0.7315 GB, free: 2.348 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.003095, allocations: 5.344 kB / 0.7315 GB, free: 2.344 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.0031, allocations: 0 / 0.7315 GB, free: 2.344 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.003112, allocations: 4 kB / 0.7315 GB, free: 2.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.147e-05/0.003184, allocations: 7.984 kB / 0.7315 GB, free: 2.332 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.003189, allocations: 9.578 kB / 0.7315 GB, free: 2.324 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.44e-05/0.003204, allocations: 0.875 kB / 0.7316 GB, free: 2.324 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.003211, allocations: 0 / 0.7316 GB, free: 2.324 MB / 0.698 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.881e-05/0.003269, allocations: 114.6 kB / 0.7317 GB, free: 2.203 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.877e-06/0.003278, allocations: 0 / 0.7317 GB, free: 2.203 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.219e-05/0.00337, allocations: 49.88 kB / 0.7317 GB, free: 2.148 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.003373, allocations: 0 / 0.7317 GB, free: 2.148 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.003374, allocations: 1.344 kB / 0.7317 GB, free: 2.148 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.003377, allocations: 0 / 0.7317 GB, free: 2.148 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.356e-05/0.003441, allocations: 74.8 kB / 0.7318 GB, free: 2.059 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.003442, allocations: 0 / 0.7318 GB, free: 2.059 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.606e-05/0.003468, allocations: 5.25 kB / 0.7318 GB, free: 2.055 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.477e-05/0.003493, allocations: 4 kB / 0.7318 GB, free: 2.051 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.003495, allocations: 0 / 0.7318 GB, free: 2.051 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.418e-06/0.003499, allocations: 1.25 kB / 0.7318 GB, free: 2.051 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.0035, allocations: 3.938 kB / 0.7318 GB, free: 2.047 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.003501, allocations: 0 / 0.7318 GB, free: 2.047 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.412e-05/0.003575, allocations: 78.53 kB / 0.7319 GB, free: 1.953 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.717e-06/0.003584, allocations: 0.7656 kB / 0.7319 GB, free: 1.953 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.314e-05/0.003597, allocations: 0.5312 kB / 0.7319 GB, free: 1.953 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.322e-05/0.00361, allocations: 8 kB / 0.7319 GB, free: 1.945 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-06/0.003614, allocations: 5.234 kB / 0.7319 GB, free: 1.941 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.004e-05/0.003624, allocations: 4.859 kB / 0.7319 GB, free: 1.934 MB / 0.698 GB Notification: Performance of sort global known variables: time 9e-08/0.003624, allocations: 0.6875 kB / 0.7319 GB, free: 1.934 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001516/0.003776, allocations: 4 kB / 0.7319 GB, free: 1.93 MB / 0.698 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 7.89e-05/0.003855, allocations: 78.23 kB / 0.732 GB, free: 1.844 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.514e-05/0.00392, allocations: 14.48 kB / 0.732 GB, free: 1.828 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.003925, allocations: 0 / 0.732 GB, free: 1.828 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.924e-05/0.003944, allocations: 14.47 kB / 0.732 GB, free: 1.812 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.999e-05/0.004014, allocations: 18.72 kB / 0.732 GB, free: 1.797 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001798/0.004194, allocations: 97.61 kB / 0.7321 GB, free: 1.672 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.004303, allocations: 51.36 kB / 0.7322 GB, free: 1.602 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.903e-05/0.004322, allocations: 4.688 kB / 0.7322 GB, free: 1.598 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.825e-05/0.00436, allocations: 53.36 kB / 0.7322 GB, free: 1.547 MB / 0.698 GB Notification: Performance of SimCode: time 7.92e-07/0.004361, allocations: 0 / 0.7322 GB, free: 1.547 MB / 0.698 GB Notification: Performance of Templates: time 0.001839/0.006199, allocations: 245.1 kB / 0.7324 GB, free: 1.312 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Examples.Performance.Example8.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_12_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.Example8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Examples.Performance.Example8/Buildings_12_Buildings.Fluid.Examples.Performance.Example8.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.468241130001843]