Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Examples.Performance.Example7.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.001278/0.001278, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.001389/0.001389, allocations: 215.5 kB / 23 MB, free: 4.969 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.189/3.189, allocations: 0.49 GB / 0.7959 GB, free: 35.56 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.Example7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.2.",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example7") translateModel(Buildings.Fluid.Examples.Performance.Example7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.2.",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example7") [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.00203/0.00203, allocations: 70.38 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3161, allocations: 176.1 MB / 1.327 GB, free: 1.07 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example7): time 0.00167/0.3177, allocations: 0.5515 MB / 1.328 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001987/0.3179, allocations: 35.88 kB / 1.328 GB, free: 500 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.43e-05/0.318, allocations: 4 kB / 1.328 GB, free: 496 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 7.275e-05/0.3181, allocations: 3.938 kB / 1.328 GB, free: 492 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.178e-05/0.3181, allocations: 0 / 1.328 GB, free: 492 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.3183, allocations: 23.84 kB / 1.328 GB, free: 468 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003096/0.3214, allocations: 3.145 MB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.337e-05/0.3214, allocations: 16.41 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001374/0.3228, allocations: 1.147 MB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002566/0.3254, allocations: 1.595 MB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0004603/0.3258, allocations: 156 kB / 1.334 GB, free: 10.39 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004311/0.3263, allocations: 156 kB / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0009879/0.3273, allocations: 1.072 MB / 1.335 GB, free: 9.168 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001197/0.3285, allocations: 1.012 MB / 1.336 GB, free: 8.152 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002035/0.3305, allocations: 2.052 MB / 1.338 GB, free: 6.094 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.3305, allocations: 0 / 1.338 GB, free: 6.094 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3305, allocations: 0 / 1.338 GB, free: 6.094 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.352e-05/0.3305, allocations: 0 / 1.338 GB, free: 6.094 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 500 * Number of variables: 500 Notification: Performance of Generate backend data structure: time 0.01354/0.3441, allocations: 4.839 MB / 1.342 GB, free: 1.215 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.3441, allocations: 8.031 kB / 1.342 GB, free: 1.207 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000584/0.3447, allocations: 227.9 kB / 1.343 GB, free: 0.9844 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002545/0.3472, allocations: 0.8437 MB / 1.344 GB, free: 116 kB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002327/0.3475, allocations: 272.4 kB / 1.344 GB, free: 15.84 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009924/0.3485, allocations: 0.6125 MB / 1.344 GB, free: 15.23 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005189/0.3537, allocations: 3.009 MB / 1.347 GB, free: 12.21 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.132e-05/0.3537, allocations: 4.188 kB / 1.347 GB, free: 12.21 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000296/0.354, allocations: 79.94 kB / 1.347 GB, free: 12.13 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-05/0.354, allocations: 55.94 kB / 1.347 GB, free: 12.07 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003308/0.3573, allocations: 1.94 MB / 1.349 GB, free: 10.13 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00375/0.3611, allocations: 2.236 MB / 1.352 GB, free: 7.871 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07511/0.4362, allocations: 19.25 MB / 1.37 GB, free: 4.605 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003903/0.4401, allocations: 2.194 MB / 1.372 GB, free: 2.406 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003056/0.4404, allocations: 51.92 kB / 1.373 GB, free: 2.355 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.561e-05/0.4405, allocations: 86.48 kB / 1.373 GB, free: 2.262 MB / 1.061 GB Notification: Performance of pre-optimization done (n=500): time 9.798e-06/0.4405, allocations: 4 kB / 1.373 GB, free: 2.258 MB / 1.061 GB Notification: Performance of matching and sorting (n=500): time 0.01184/0.4523, allocations: 7.078 MB / 1.38 GB, free: 11.18 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.02e-05/0.4524, allocations: 99.33 kB / 1.38 GB, free: 11.07 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/0.4527, allocations: 265.7 kB / 1.38 GB, free: 10.8 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0003849/0.453, allocations: 185.6 kB / 1.38 GB, free: 10.61 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.4532, allocations: 187.9 kB / 1.38 GB, free: 10.42 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.001849/0.4551, allocations: 2.293 MB / 1.382 GB, free: 8.109 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001817/0.4569, allocations: 1.394 MB / 1.384 GB, free: 6.711 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.457, allocations: 314 kB / 1.384 GB, free: 6.398 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004484/0.4615, allocations: 2.833 MB / 1.387 GB, free: 3.562 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004651/0.4662, allocations: 2.953 MB / 1.39 GB, free: 0.6211 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009813/0.476, allocations: 6.547 MB / 1.396 GB, free: 10.07 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.577e-05/0.476, allocations: 0 / 1.396 GB, free: 10.07 MB / 1.092 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.01161/0.4876, allocations: 7.523 MB / 1.404 GB, free: 2.535 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.114e-05/0.4876, allocations: 4 kB / 1.404 GB, free: 2.531 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.083e-05/0.4876, allocations: 0 / 1.404 GB, free: 2.531 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.136e-05/0.4877, allocations: 32 kB / 1.404 GB, free: 2.5 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006683/0.4944, allocations: 1.732 MB / 1.405 GB, free: 0.7656 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.988e-05/0.4944, allocations: 32 kB / 1.405 GB, free: 0.7344 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002269/0.4967, allocations: 0.765 MB / 1.406 GB, free: 15.96 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003915/0.4971, allocations: 220 kB / 1.406 GB, free: 15.75 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1000): * Single equations (assignments): 1000 * 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 0.001171/0.4983, allocations: 0.6178 MB / 1.407 GB, free: 15.12 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004327/0.4987, allocations: 171 kB / 1.407 GB, free: 14.95 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009745/0.5084, allocations: 5.876 MB / 1.413 GB, free: 9.047 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.625e-05/0.5085, allocations: 35.84 kB / 1.413 GB, free: 9.012 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.5085, allocations: 0 / 1.413 GB, free: 9.012 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002043/0.5105, allocations: 0.6691 MB / 1.413 GB, free: 8.34 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006853/0.5112, allocations: 275.7 kB / 1.414 GB, free: 8.07 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002207/0.5134, allocations: 335.6 kB / 1.414 GB, free: 7.742 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007443/0.5142, allocations: 307.3 kB / 1.414 GB, free: 7.441 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0388/0.553, allocations: 11.86 MB / 1.426 GB, free: 11.56 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01474/0.5677, allocations: 9.409 MB / 1.435 GB, free: 2.137 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004457/0.5722, allocations: 2.809 MB / 1.438 GB, free: 15.32 MB / 1.139 GB Notification: Performance of sorting global known variables: time 5.961e-05/0.5722, allocations: 79.53 kB / 1.438 GB, free: 15.25 MB / 1.139 GB Notification: Performance of Backend: time 2.1e-07/0.5722, allocations: 4 kB / 1.438 GB, free: 15.24 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.007448/0.5797, allocations: 4.216 MB / 1.442 GB, free: 11.03 MB / 1.139 GB Notification: Performance of SimCode: time 0.01294/0.5926, allocations: 12.56 MB / 1.454 GB, free: 14.36 MB / 1.154 GB Notification: Performance of Templates: time 0.09898/0.6916, allocations: 60.28 MB / 1.513 GB, free: 2.109 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Examples.Performance.Example7.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.Example7.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.Example7.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.Example7.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.Example7.sim & ./Buildings_12_Buildings.Fluid.Examples.Performance.Example7 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.Performance.Example7.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.Example7_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Examples_Performance_Example7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Examples.Performance.Example7.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: 10.40713448299357]