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.001346/0.001346, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001522/0.001522, allocations: 216.9 kB / 22.99 MB, free: 4.945 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.145/3.145, allocations: 0.4892 GB / 0.7951 GB, free: 35.45 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.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: 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.002038/0.002038, allocations: 64.38 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4018/0.4038, allocations: 176.1 MB / 1.326 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.002128/0.406, allocations: 0.5378 MB / 1.327 GB, free: 1.414 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001719/0.4061, allocations: 15.91 kB / 1.327 GB, free: 1.398 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.485e-05/0.4062, allocations: 0 / 1.327 GB, free: 1.398 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.934e-05/0.4062, allocations: 0 / 1.327 GB, free: 1.398 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001695/0.4064, allocations: 11.94 kB / 1.327 GB, free: 1.387 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.817e-06/0.4064, allocations: 4 kB / 1.327 GB, free: 1.383 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.475e-05/0.4064, allocations: 4 kB / 1.327 GB, free: 1.379 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.551e-05/0.4065, allocations: 0 / 1.327 GB, free: 1.379 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.318e-05/0.4065, allocations: 3.938 kB / 1.327 GB, free: 1.375 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.304e-05/0.4066, allocations: 11.97 kB / 1.327 GB, free: 1.363 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.4066, allocations: 0 / 1.327 GB, free: 1.363 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.264e-06/0.4066, allocations: 0 / 1.327 GB, free: 1.363 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.03e-05/0.4066, allocations: 0 / 1.327 GB, free: 1.363 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.437e-05/0.4066, allocations: 0 / 1.327 GB, free: 1.363 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 6.342e-05/0.4067, allocations: 3.938 kB / 1.327 GB, free: 1.359 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4067, allocations: 4 kB / 1.327 GB, free: 1.355 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.884e-06/0.4067, allocations: 4 kB / 1.327 GB, free: 1.352 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.4067, allocations: 3.938 kB / 1.327 GB, free: 1.348 MB / 1.014 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.0003696/0.4071, allocations: 238.4 kB / 1.327 GB, free: 1.082 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.4071, allocations: 8.031 kB / 1.327 GB, free: 1.074 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.4071, allocations: 8.922 kB / 1.327 GB, free: 1.066 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.4073, allocations: 106.5 kB / 1.327 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.4073, allocations: 384 / 1.327 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.4073, allocations: 384 / 1.327 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.4075, allocations: 40.39 kB / 1.327 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.4075, allocations: 4.188 kB / 1.327 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.4075, allocations: 11.94 kB / 1.327 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.4075, allocations: 0 / 1.327 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.643e-05/0.4075, allocations: 7.922 kB / 1.327 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001913/0.4077, allocations: 102.2 kB / 1.327 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.081e-05/0.4078, allocations: 41.22 kB / 1.327 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.757e-05/0.4078, allocations: 17.78 kB / 1.327 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.4078, allocations: 0 / 1.327 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.4079, allocations: 30.56 kB / 1.327 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.4079, allocations: 0 / 1.327 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001753/0.408, allocations: 57.56 kB / 1.328 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/0.4081, allocations: 81.05 kB / 1.328 GB, free: 460 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.314e-05/0.4082, allocations: 93.86 kB / 1.328 GB, free: 356 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001056/0.4083, allocations: 29.7 kB / 1.328 GB, free: 320 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.61e-05/0.4083, allocations: 80.14 kB / 1.328 GB, free: 236 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.4083, allocations: 7.938 kB / 1.328 GB, free: 228 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.4084, allocations: 13.72 kB / 1.328 GB, free: 208 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.4085, allocations: 310.8 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.215e-05/0.4085, allocations: 0 / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.5e-05/0.4086, allocations: 22.09 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.214e-05/0.4086, allocations: 21.66 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4086, allocations: 0 / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.401e-05/0.4087, allocations: 45.62 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.4087, allocations: 5.719 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4087, allocations: 0 / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.4087, allocations: 11.88 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.621e-05/0.4088, allocations: 0 / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.4088, allocations: 4 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.162e-05/0.4088, allocations: 8.125 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.4088, allocations: 0 / 1.328 GB, free: 15.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.673e-05/0.4089, allocations: 114.4 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.198e-06/0.4089, allocations: 0 / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001303/0.4091, allocations: 52.61 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-06/0.4091, allocations: 3.938 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.361e-06/0.4091, allocations: 4 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4091, allocations: 0 / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.876e-05/0.4092, allocations: 109.3 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4092, allocations: 0 / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.511e-05/0.4092, allocations: 4 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.4092, allocations: 0 / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.4092, allocations: 7.984 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.4092, allocations: 0 / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.4092, allocations: 7.922 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.54e-05/0.4093, allocations: 69.94 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.124e-05/0.4094, allocations: 7.938 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.4094, allocations: 0 / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.83e-05/0.4094, allocations: 4.031 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.976e-05/0.4094, allocations: 7.938 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.4094, allocations: 0 / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.195e-05/0.4095, allocations: 79.28 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4095, allocations: 0 / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001946/0.4097, allocations: 4 kB / 1.329 GB, free: 15.22 MB / 1.029 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 0.0001255/0.4098, allocations: 91.25 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.911e-05/0.4099, allocations: 19.86 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.4099, allocations: 224 / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.668e-06/0.4099, allocations: 8 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/0.41, allocations: 4 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002788/0.4103, allocations: 123.5 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.938e-05/0.4104, allocations: 59.3 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.312e-05/0.4104, allocations: 7.438 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of SimCode: time 2.7e-07/0.4104, allocations: 0 / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of Templates: time 0.001812/0.4122, allocations: 375.9 kB / 1.329 GB, free: 14.48 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.005688497796655]