Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002163/0.002163, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.001921/0.001921, allocations: 164.7 kB / 22.46 MB, free: 5.375 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.507/1.507, allocations: 177.1 MB / 202.8 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.742/2.742, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|a|b",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.Example8") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.859e-06/4.859e-06, allocations: 4 kB / 0.9509 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.608e-05/4.094e-05, allocations: 4.531 kB / 0.9509 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.00164/0.001681, allocations: 0.5254 MB / 0.9515 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001282/0.001809, allocations: 19.92 kB / 0.9515 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.121e-05/0.00184, allocations: 0 / 0.9515 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.22e-05/0.001852, allocations: 0 / 0.9515 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001485/0.002001, allocations: 7.969 kB / 0.9515 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.977e-06/0.002005, allocations: 0 / 0.9515 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.909e-05/0.002064, allocations: 7.938 kB / 0.9515 GB, free: 11 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.521e-05/0.002109, allocations: 0 / 0.9515 GB, free: 11 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.555e-05/0.002175, allocations: 7.938 kB / 0.9515 GB, free: 11 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.92e-05/0.002214, allocations: 0 / 0.9515 GB, free: 11 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.002227, allocations: 0 / 0.9515 GB, free: 11 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.921e-06/0.002233, allocations: 0 / 0.9515 GB, free: 11 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.097e-05/0.002244, allocations: 4 kB / 0.9515 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.532e-05/0.00226, allocations: 3.984 kB / 0.9515 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 4.665e-05/0.002306, allocations: 7.938 kB / 0.9515 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.002308, allocations: 3.938 kB / 0.9515 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of FrontEnd: time 6.31e-07/0.002309, allocations: 0 / 0.9515 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.002312, allocations: 0 / 0.9515 GB, free: 10.98 MB / 0.8575 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.0002989/0.002611, allocations: 234.5 kB / 0.9517 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.002651, allocations: 15.97 kB / 0.9518 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.969e-05/0.00268, allocations: 4.891 kB / 0.9518 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.002787, allocations: 105.8 kB / 0.9519 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.002799, allocations: 4.375 kB / 0.9519 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.194e-06/0.002806, allocations: 4.375 kB / 0.9519 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.002913, allocations: 43.98 kB / 0.9519 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.002924, allocations: 4.125 kB / 0.9519 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.214e-06/0.002931, allocations: 384 / 0.9519 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.002935, allocations: 384 / 0.9519 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.532e-05/0.00296, allocations: 7.938 kB / 0.9519 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001398/0.0031, allocations: 110.2 kB / 0.952 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.132e-05/0.003162, allocations: 33.22 kB / 0.9521 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.306e-05/0.003185, allocations: 17.7 kB / 0.9521 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.003206, allocations: 4 kB / 0.9521 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.003239, allocations: 38.56 kB / 0.9521 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.00324, allocations: 0 / 0.9521 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001458/0.003385, allocations: 41.62 kB / 0.9522 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.003443, allocations: 81.11 kB / 0.9522 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.171e-05/0.003515, allocations: 97.8 kB / 0.9523 GB, free: 9.977 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/0.003542, allocations: 25.7 kB / 0.9524 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.032e-05/0.003582, allocations: 80.14 kB / 0.9524 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.003605, allocations: 8.266 kB / 0.9524 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.288e-05/0.003638, allocations: 21.7 kB / 0.9525 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.003777, allocations: 314.8 kB / 0.9528 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.301e-05/0.00379, allocations: 4 kB / 0.9528 GB, free: 9.508 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.488e-05/0.003805, allocations: 13.66 kB / 0.9528 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.43e-05/0.003839, allocations: 17.72 kB / 0.9528 GB, free: 9.465 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.003841, allocations: 0 / 0.9528 GB, free: 9.465 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.322e-05/0.003914, allocations: 45.62 kB / 0.9528 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.003928, allocations: 8 kB / 0.9528 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.003932, allocations: 4.125 kB / 0.9529 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.003945, allocations: 0 / 0.9529 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.425e-05/0.004009, allocations: 4 kB / 0.9529 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.004013, allocations: 0 / 0.9529 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.816e-05/0.004032, allocations: 3.938 kB / 0.9529 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.004038, allocations: 0 / 0.9529 GB, free: 9.395 MB / 0.8575 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 7.556e-05/0.004113, allocations: 113.8 kB / 0.953 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.057e-05/0.004124, allocations: 3.984 kB / 0.953 GB, free: 9.27 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.004238, allocations: 56.56 kB / 0.953 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.004242, allocations: 4 kB / 0.953 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.004246, allocations: 0 / 0.953 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.00425, allocations: 3.938 kB / 0.953 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001006/0.004351, allocations: 105.3 kB / 0.9531 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.004352, allocations: 0 / 0.9531 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.44e-05/0.004376, allocations: 4 kB / 0.9531 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.004378, allocations: 0 / 0.9531 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.004385, allocations: 0 / 0.9531 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.004389, allocations: 4 kB / 0.9531 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.004392, allocations: 3.984 kB / 0.9531 GB, free: 9.059 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.648e-05/0.004488, allocations: 77.94 kB / 0.9532 GB, free: 8.961 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.061e-05/0.004519, allocations: 3.953 kB / 0.9532 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.004531, allocations: 7.984 kB / 0.9532 GB, free: 8.949 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.537e-05/0.004546, allocations: 0 / 0.9532 GB, free: 8.949 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.165e-05/0.004558, allocations: 0 / 0.9532 GB, free: 8.949 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.004562, allocations: 4 kB / 0.9532 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.783e-05/0.0046, allocations: 79.22 kB / 0.9533 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.0046, allocations: 0 / 0.9533 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001828/0.004783, allocations: 0 / 0.9533 GB, free: 8.867 MB / 0.8575 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.0001012/0.004884, allocations: 99.38 kB / 0.9534 GB, free: 8.762 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.658e-05/0.004961, allocations: 15.92 kB / 0.9534 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.004966, allocations: 4 kB / 0.9534 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.965e-06/0.004974, allocations: 0 / 0.9534 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.005113, allocations: 4 kB / 0.9534 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002295/0.005342, allocations: 93.8 kB / 0.9535 GB, free: 8.617 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.185e-05/0.005394, allocations: 59.34 kB / 0.9536 GB, free: 8.539 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.012e-05/0.005414, allocations: 8.25 kB / 0.9536 GB, free: 8.531 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.363e-05/0.005438, allocations: 8.5 kB / 0.9536 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of SimCode: time 2.9e-07/0.005438, allocations: 0 / 0.9536 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of Templates: time 0.002259/0.007697, allocations: 203.2 kB / 0.9538 GB, free: 8.324 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Examples.Performance.Example8.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_11_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.918706048280001]