Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Examples.Performance.Example5.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.001811/0.001811, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.002221/0.002221, allocations: 190.5 kB / 22.11 MB, free: 5.152 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.569/1.569, allocations: 225.6 MB / 250.8 MB, free: 13.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.242/3.242, allocations: 495.8 MB / 0.783 GB, free: 33.7 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/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.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example5") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002173/0.002173, allocations: 67.48 kB / 1.137 GB, free: 33.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3367, allocations: 173.6 MB / 1.307 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001608/0.3383, allocations: 0.553 MB / 1.307 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001816/0.3385, allocations: 40.22 kB / 1.307 GB, free: 1.277 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.982e-05/0.3385, allocations: 0 / 1.307 GB, free: 1.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.463e-05/0.3386, allocations: 0 / 1.307 GB, free: 1.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.3387, allocations: 7.938 kB / 1.307 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.985e-05/0.3388, allocations: 7.984 kB / 1.307 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.207e-05/0.3388, allocations: 11.92 kB / 1.307 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.524e-05/0.3389, allocations: 8 kB / 1.307 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.529e-05/0.3389, allocations: 0 / 1.307 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.671e-05/0.339, allocations: 19.92 kB / 1.307 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.339, allocations: 0 / 1.307 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.198e-06/0.339, allocations: 0 / 1.307 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.318e-05/0.3391, allocations: 11.92 kB / 1.307 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.099e-05/0.3391, allocations: 0 / 1.307 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 7.075e-05/0.3392, allocations: 15.86 kB / 1.307 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3392, allocations: 0 / 1.307 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3392, allocations: 0 / 1.307 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.3392, allocations: 0 / 1.307 GB, free: 1.195 MB / 0.9981 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.0004452/0.3396, allocations: 262.3 kB / 1.308 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.3396, allocations: 8.031 kB / 1.308 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.195e-05/0.3397, allocations: 4.938 kB / 1.308 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.3399, allocations: 118.5 kB / 1.308 GB, free: 0.7539 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.3399, allocations: 384 / 1.308 GB, free: 0.7539 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.3399, allocations: 4.375 kB / 1.308 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.498e-05/0.34, allocations: 34.25 kB / 1.308 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.34, allocations: 192 / 1.308 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.966e-06/0.34, allocations: 7.938 kB / 1.308 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.34, allocations: 0 / 1.308 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.015e-05/0.34, allocations: 7.922 kB / 1.308 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.3402, allocations: 132.7 kB / 1.308 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.331e-05/0.3402, allocations: 22.5 kB / 1.308 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.221e-05/0.3402, allocations: 8.922 kB / 1.308 GB, free: 492 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.3402, allocations: 0 / 1.308 GB, free: 492 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.3403, allocations: 34.56 kB / 1.308 GB, free: 448 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.3403, allocations: 0 / 1.308 GB, free: 448 kB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001534/0.3404, allocations: 53.56 kB / 1.308 GB, free: 388 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.3405, allocations: 51.41 kB / 1.308 GB, free: 324 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.3406, allocations: 109.8 kB / 1.308 GB, free: 204 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.3406, allocations: 25.7 kB / 1.308 GB, free: 172 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.764e-05/0.3406, allocations: 92.06 kB / 1.308 GB, free: 76 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/0.3406, allocations: 0 / 1.308 GB, free: 76 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-05/0.3407, allocations: 21.8 kB / 1.308 GB, free: 48 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.3408, allocations: 310.8 kB / 1.309 GB, free: 15.73 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.171e-05/0.3408, allocations: 8 kB / 1.309 GB, free: 15.73 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.956e-05/0.3409, allocations: 17.7 kB / 1.309 GB, free: 15.7 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.719e-05/0.3409, allocations: 21.66 kB / 1.309 GB, free: 15.68 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3409, allocations: 4.062 kB / 1.309 GB, free: 15.67 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.66e-05/0.341, allocations: 45.69 kB / 1.309 GB, free: 15.62 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.341, allocations: 4 kB / 1.309 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.341, allocations: 7.922 kB / 1.309 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.341, allocations: 4 kB / 1.309 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.993e-05/0.3411, allocations: 7.938 kB / 1.309 GB, free: 15.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.3411, allocations: 0 / 1.309 GB, free: 15.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.289e-05/0.3411, allocations: 256 / 1.309 GB, free: 15.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.3411, allocations: 0 / 1.309 GB, free: 15.6 MB / 1.014 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 9.409e-05/0.3412, allocations: 117.8 kB / 1.309 GB, free: 15.47 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.25e-05/0.3413, allocations: 4 kB / 1.309 GB, free: 15.47 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.3414, allocations: 57.08 kB / 1.309 GB, free: 15.4 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.3414, allocations: 0 / 1.309 GB, free: 15.4 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3414, allocations: 0 / 1.309 GB, free: 15.4 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.3414, allocations: 0 / 1.309 GB, free: 15.4 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.3415, allocations: 132.7 kB / 1.309 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.3415, allocations: 0 / 1.309 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.076e-05/0.3415, allocations: 7.938 kB / 1.309 GB, free: 15.22 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3415, allocations: 4.031 kB / 1.309 GB, free: 15.22 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.3415, allocations: 3.938 kB / 1.309 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.3415, allocations: 3.938 kB / 1.309 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3416, allocations: 3.984 kB / 1.309 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001403/0.3417, allocations: 77.08 kB / 1.309 GB, free: 15.11 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.74e-05/0.3417, allocations: 8.031 kB / 1.309 GB, free: 15.11 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.3417, allocations: 7.922 kB / 1.309 GB, free: 15.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.401e-05/0.3418, allocations: 4 kB / 1.309 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.646e-05/0.3418, allocations: 4.094 kB / 1.309 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.3418, allocations: 0 / 1.309 GB, free: 15.09 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.565e-05/0.3418, allocations: 91.27 kB / 1.309 GB, free: 15 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3418, allocations: 0 / 1.309 GB, free: 15 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000187/0.342, allocations: 4 kB / 1.309 GB, free: 15 MB / 1.014 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 9.317e-05/0.3421, allocations: 92.05 kB / 1.309 GB, free: 14.9 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 7.967e-05/0.3422, allocations: 19.92 kB / 1.309 GB, free: 14.88 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3422, allocations: 4.125 kB / 1.309 GB, free: 14.88 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.467e-05/0.3422, allocations: 4 kB / 1.309 GB, free: 14.87 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.3424, allocations: 7.938 kB / 1.309 GB, free: 14.86 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002718/0.3426, allocations: 117.4 kB / 1.309 GB, free: 14.72 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.3429, allocations: 0.6807 MB / 1.31 GB, free: 14.02 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.798e-05/0.343, allocations: 3.984 kB / 1.31 GB, free: 14.01 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.465e-05/0.343, allocations: 15.38 kB / 1.31 GB, free: 14 MB / 1.014 GB Notification: Performance of SimCode: time 6.21e-07/0.343, allocations: 0 / 1.31 GB, free: 14 MB / 1.014 GB Notification: Performance of Templates: time 0.002531/0.3455, allocations: 329.2 kB / 1.31 GB, free: 13.68 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Examples.Performance.Example5.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_12_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Examples.Performance.Example5.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.018296796828508]