Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001535/0.001535, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002443/0.003978, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001898/0.001898, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002507/0.004405, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.051/1.051, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1122/1.163, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.485/2.485, allocations: 446.7 MB / 0.6745 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2541/2.739, allocations: 145.9 MB / 0.817 GB, free: 4.211 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|a|b",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example8") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.8183 GB, free: 2.914 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.815e-05/1.957e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.91 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001305/0.001325, allocations: 0.5957 MB / 0.8189 GB, free: 2.316 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 3.179e-05/0.001357, allocations: 11.97 kB / 0.8189 GB, free: 2.305 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.744e-05/0.001374, allocations: 0 / 0.8189 GB, free: 2.305 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.829e-06/0.001379, allocations: 3.938 kB / 0.8189 GB, free: 2.301 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.063e-05/0.001419, allocations: 11.92 kB / 0.8189 GB, free: 2.289 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 3.967e-06/0.001423, allocations: 4 kB / 0.8189 GB, free: 2.285 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 5.22e-05/0.001476, allocations: 4 kB / 0.8189 GB, free: 2.281 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.828e-05/0.001514, allocations: 4 kB / 0.8189 GB, free: 2.277 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 4.785e-05/0.001562, allocations: 7.922 kB / 0.8189 GB, free: 2.27 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.671e-05/0.001598, allocations: 4 kB / 0.8189 GB, free: 2.266 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.001615, allocations: 0 / 0.8189 GB, free: 2.266 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 5.51e-06/0.001621, allocations: 0 / 0.8189 GB, free: 2.266 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 7.393e-06/0.001628, allocations: 0 / 0.8189 GB, free: 2.266 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.465e-05/0.001643, allocations: 0 / 0.8189 GB, free: 2.266 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 5.007e-05/0.001693, allocations: 0 / 0.8189 GB, free: 2.266 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.561e-05/0.001708, allocations: 8 kB / 0.8189 GB, free: 2.258 MB / 0.7917 GB Notification: Performance of FrontEnd: time 4.51e-07/0.001709, allocations: 0 / 0.8189 GB, free: 2.258 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.45e-05/0.001723, allocations: 0 / 0.8189 GB, free: 2.258 MB / 0.7917 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.000252/0.001975, allocations: 224.6 kB / 0.8191 GB, free: 2.012 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.002008, allocations: 12.62 kB / 0.8191 GB, free: 2 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.493e-05/0.002033, allocations: 4.938 kB / 0.8192 GB, free: 1.996 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.567e-05/0.002099, allocations: 105.7 kB / 0.8193 GB, free: 1.867 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.002108, allocations: 4.375 kB / 0.8193 GB, free: 1.863 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.991e-06/0.002114, allocations: 384 / 0.8193 GB, free: 1.863 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.82e-05/0.002192, allocations: 51.95 kB / 0.8193 GB, free: 1.801 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.002199, allocations: 4.188 kB / 0.8193 GB, free: 1.797 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-06/0.002205, allocations: 384 / 0.8193 GB, free: 1.797 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.00221, allocations: 384 / 0.8193 GB, free: 1.797 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.825e-05/0.002228, allocations: 11.88 kB / 0.8193 GB, free: 1.785 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.696e-05/0.002305, allocations: 61.94 kB / 0.8194 GB, free: 1.707 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 4.672e-05/0.002352, allocations: 33.25 kB / 0.8194 GB, free: 1.656 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.538e-05/0.002367, allocations: 13.72 kB / 0.8194 GB, free: 1.637 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.00239, allocations: 3.984 kB / 0.8194 GB, free: 1.633 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.002412, allocations: 38.56 kB / 0.8195 GB, free: 1.586 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.002413, allocations: 4 kB / 0.8195 GB, free: 1.582 MB / 0.7917 GB Notification: Performance of matching and sorting (n=2): time 9.167e-05/0.002505, allocations: 37.64 kB / 0.8195 GB, free: 1.539 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.00254, allocations: 77.11 kB / 0.8196 GB, free: 1.445 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.986e-05/0.00259, allocations: 102.7 kB / 0.8197 GB, free: 1.332 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.002599, allocations: 25.7 kB / 0.8197 GB, free: 1.301 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 2.135e-05/0.002621, allocations: 80.14 kB / 0.8198 GB, free: 1.219 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.002646, allocations: 7.953 kB / 0.8198 GB, free: 1.211 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.577e-05/0.002671, allocations: 17.7 kB / 0.8198 GB, free: 1.188 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 8.387e-05/0.002755, allocations: 315.2 kB / 0.8201 GB, free: 0.8711 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.234e-06/0.002762, allocations: 8 kB / 0.8201 GB, free: 0.8633 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.698e-05/0.002779, allocations: 9.719 kB / 0.8201 GB, free: 0.8477 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.029e-05/0.00281, allocations: 21.64 kB / 0.8201 GB, free: 0.8203 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.002811, allocations: 4 kB / 0.8201 GB, free: 0.8164 MB / 0.7917 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.45e-05/0.002856, allocations: 29.7 kB / 0.8202 GB, free: 0.7812 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.002868, allocations: 8 kB / 0.8202 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.002874, allocations: 3.984 kB / 0.8202 GB, free: 0.7695 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.734e-06/0.002882, allocations: 0 / 0.8202 GB, free: 0.7695 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.651e-05/0.002948, allocations: 12.06 kB / 0.8202 GB, free: 0.7578 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.002951, allocations: 0 / 0.8202 GB, free: 0.7578 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.342e-05/0.002964, allocations: 0 / 0.8202 GB, free: 0.7578 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.002971, allocations: 7.938 kB / 0.8202 GB, free: 0.75 MB / 0.7917 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 5.089e-05/0.003022, allocations: 113.8 kB / 0.8203 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.412e-06/0.003028, allocations: 4 kB / 0.8203 GB, free: 0.625 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.204e-05/0.0031, allocations: 40.62 kB / 0.8204 GB, free: 0.582 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.003102, allocations: 0 / 0.8204 GB, free: 0.582 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.003105, allocations: 4.062 kB / 0.8204 GB, free: 0.5781 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.003108, allocations: 4 kB / 0.8204 GB, free: 0.5742 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.766e-05/0.003165, allocations: 69.83 kB / 0.8204 GB, free: 500 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.003167, allocations: 0 / 0.8204 GB, free: 500 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.892e-05/0.003186, allocations: 4 kB / 0.8204 GB, free: 496 kB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 2.171e-05/0.003207, allocations: 3.984 kB / 0.8204 GB, free: 492 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.003209, allocations: 0 / 0.8204 GB, free: 492 kB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.003214, allocations: 4 kB / 0.8204 GB, free: 488 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.003215, allocations: 4 kB / 0.8204 GB, free: 484 kB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.003218, allocations: 4 kB / 0.8204 GB, free: 480 kB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.57e-05/0.003314, allocations: 69.86 kB / 0.8205 GB, free: 388 kB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.183e-06/0.003321, allocations: 4.031 kB / 0.8205 GB, free: 384 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.179e-05/0.003333, allocations: 4 kB / 0.8205 GB, free: 380 kB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.093e-05/0.003344, allocations: 3.984 kB / 0.8205 GB, free: 376 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.003346, allocations: 0 / 0.8205 GB, free: 376 kB / 0.7917 GB Notification: Performance of sorting global known variables: time 9.538e-06/0.003355, allocations: 8.859 kB / 0.8205 GB, free: 364 kB / 0.7917 GB Notification: Performance of sort global known variables: time 8e-08/0.003355, allocations: 0 / 0.8205 GB, free: 364 kB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0001304/0.003486, allocations: 0 / 0.8205 GB, free: 364 kB / 0.7917 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 7.062e-05/0.003556, allocations: 76.36 kB / 0.8206 GB, free: 276 kB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 5.674e-05/0.003613, allocations: 24.89 kB / 0.8206 GB, free: 248 kB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.003616, allocations: 0 / 0.8206 GB, free: 248 kB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 8.707e-06/0.003625, allocations: 12.84 kB / 0.8206 GB, free: 232 kB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.961e-05/0.003684, allocations: 7.938 kB / 0.8207 GB, free: 224 kB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001567/0.003841, allocations: 101.6 kB / 0.8207 GB, free: 92 kB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.139e-05/0.003873, allocations: 55.36 kB / 0.8208 GB, free: 16 kB / 0.7917 GB Notification: Performance of simCode: alias equations: time 1.67e-05/0.003889, allocations: 0 / 0.8208 GB, free: 16 kB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.211e-05/0.003931, allocations: 51.62 kB / 0.8209 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of SimCode: time 3.9e-07/0.003932, allocations: 4 kB / 0.8209 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of Templates: time 0.001547/0.005479, allocations: 228.8 kB / 0.8211 GB, free: 15.74 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.532325709238648]