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.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.001551/0.001551, allocations: 95.92 kB / 19.7 MB, free: 2.129 MB / 14.72 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.001951/0.001951, allocations: 212.3 kB / 23 MB, free: 4.934 MB / 14.72 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.431/1.431, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.182/3.182, allocations: 0.49 GB / 0.7959 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 65.03 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3085, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001785/0.3103, allocations: 0.5321 MB / 1.328 GB, free: 460 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000178/0.3104, allocations: 39.83 kB / 1.328 GB, free: 420 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.726e-05/0.3105, allocations: 0 / 1.328 GB, free: 420 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.481e-05/0.3105, allocations: 0 / 1.328 GB, free: 420 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.3106, allocations: 7.938 kB / 1.328 GB, free: 412 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.708e-05/0.3107, allocations: 11.98 kB / 1.328 GB, free: 400 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.597e-05/0.3108, allocations: 11.92 kB / 1.328 GB, free: 388 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.47e-05/0.3108, allocations: 4.406 kB / 1.328 GB, free: 384 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.626e-05/0.3109, allocations: 4 kB / 1.328 GB, free: 380 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.366e-05/0.3109, allocations: 11.92 kB / 1.328 GB, free: 368 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.3109, allocations: 4 kB / 1.328 GB, free: 364 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.726e-06/0.311, allocations: 4 kB / 1.328 GB, free: 360 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.519e-05/0.311, allocations: 0 / 1.328 GB, free: 360 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.057e-05/0.311, allocations: 15.91 kB / 1.328 GB, free: 344 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 6.065e-05/0.3111, allocations: 7.938 kB / 1.328 GB, free: 336 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.3111, allocations: 4 kB / 1.328 GB, free: 332 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3111, allocations: 0 / 1.328 GB, free: 332 kB / 1.014 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.3111, allocations: 3.938 kB / 1.328 GB, free: 328 kB / 1.014 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.0004184/0.3115, allocations: 254.3 kB / 1.328 GB, free: 40 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.3116, allocations: 8.031 kB / 1.328 GB, free: 32 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.96e-05/0.3116, allocations: 4.938 kB / 1.328 GB, free: 28 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.3118, allocations: 122.5 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.3118, allocations: 4.359 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.3119, allocations: 8.312 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.014e-05/0.3119, allocations: 26.27 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.3119, allocations: 4.188 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.312, allocations: 3.938 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.312, allocations: 0 / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.194e-05/0.312, allocations: 7.984 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000146/0.3121, allocations: 109.3 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 4.763e-05/0.3122, allocations: 18.56 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.073e-05/0.3122, allocations: 16.86 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.3122, allocations: 0 / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.3122, allocations: 38.56 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.272e-06/0.3122, allocations: 0 / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001519/0.3124, allocations: 41.62 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.3124, allocations: 51.41 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.3125, allocations: 109.8 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.3125, allocations: 25.7 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.126e-05/0.3126, allocations: 88.12 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.3126, allocations: 7.953 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/0.3127, allocations: 13.84 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.3128, allocations: 318.8 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.648e-05/0.3128, allocations: 3.938 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.594e-05/0.3128, allocations: 21.7 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.335e-05/0.3129, allocations: 17.72 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.3129, allocations: 3.984 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.257e-05/0.313, allocations: 45.64 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.313, allocations: 8.109 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.313, allocations: 4 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.313, allocations: 0 / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.731e-05/0.3131, allocations: 7.938 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.3131, allocations: 0 / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.652e-05/0.3131, allocations: 7.938 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.3131, allocations: 0 / 1.329 GB, free: 14.76 MB / 1.029 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.032e-05/0.3132, allocations: 110.4 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.347e-05/0.3132, allocations: 7.938 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.3133, allocations: 53.09 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.3133, allocations: 7.969 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3133, allocations: 0 / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.269e-05/0.3133, allocations: 7.984 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.3134, allocations: 4 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.541e-05/0.3134, allocations: 3.984 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.115e-05/0.3134, allocations: 0 / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001901/0.3136, allocations: 125 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001983/0.3138, allocations: 234.7 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.431e-05/0.3138, allocations: 8.016 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.664e-05/0.3139, allocations: 95.64 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of Backend: time 2.41e-07/0.3139, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003188/0.3142, allocations: 82.41 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of SimCode: time 0.0004952/0.3147, allocations: 0.5688 MB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of Templates: time 0.002477/0.3172, allocations: 353.9 kB / 1.331 GB, free: 13.02 MB / 1.029 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/jenkins1/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: 8.428834996004298]