Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.0007676/0.0007676, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00116/0.001927, allocations: 440 kB / 10.41 MB, free: 284 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.0007351/0.0007351, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009676/0.001703, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.9318/0.9318, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08742/1.019, allocations: 53.68 MB / 243.4 MB, free: 15.5 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.366/2.366, allocations: 447.1 MB / 0.675 GB, free: 5.883 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2391/2.605, allocations: 146 MB / 0.8176 GB, free: 3.801 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.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sch.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sch.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.8189 GB, free: 2.492 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.857e-05, allocations: 5.266 kB / 0.8189 GB, free: 2.488 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.001887/0.001915, allocations: 1.467 MB / 0.8203 GB, free: 1.004 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 6.368e-05/0.001979, allocations: 35.83 kB / 0.8204 GB, free: 0.9688 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.233e-05/0.002021, allocations: 7.938 kB / 0.8204 GB, free: 0.9609 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 8.907e-05/0.00211, allocations: 7.875 kB / 0.8204 GB, free: 0.9531 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.638e-05/0.002167, allocations: 15.92 kB / 0.8204 GB, free: 0.9375 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 3.847e-06/0.002171, allocations: 4 kB / 0.8204 GB, free: 0.9336 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.315e-05/0.002234, allocations: 19.92 kB / 0.8204 GB, free: 0.9141 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.545e-05/0.002269, allocations: 3.938 kB / 0.8204 GB, free: 0.9102 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.854e-05/0.002338, allocations: 15.98 kB / 0.8205 GB, free: 0.8945 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.795e-05/0.002386, allocations: 7.938 kB / 0.8205 GB, free: 0.8867 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.002406, allocations: 0 / 0.8205 GB, free: 0.8867 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 4.608e-05/0.002452, allocations: 19.92 kB / 0.8205 GB, free: 0.8672 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 3.645e-05/0.002488, allocations: 0 / 0.8205 GB, free: 0.8672 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.312e-05/0.002501, allocations: 4 kB / 0.8205 GB, free: 0.8633 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.002606, allocations: 23.86 kB / 0.8205 GB, free: 0.8398 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.37e-05/0.00262, allocations: 4 kB / 0.8205 GB, free: 0.8359 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.183e-06/0.002621, allocations: 4 kB / 0.8205 GB, free: 0.832 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.377e-05/0.002635, allocations: 0 / 0.8205 GB, free: 0.832 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003473/0.002982, allocations: 236.5 kB / 0.8207 GB, free: 0.5742 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.003016, allocations: 12.03 kB / 0.8208 GB, free: 0.5625 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/0.003047, allocations: 0.9375 kB / 0.8208 GB, free: 0.5625 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.003192, allocations: 121.7 kB / 0.8209 GB, free: 428 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.913e-06/0.003198, allocations: 384 / 0.8209 GB, free: 428 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.003207, allocations: 384 / 0.8209 GB, free: 428 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.943e-05/0.003277, allocations: 37.03 kB / 0.8209 GB, free: 384 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.003282, allocations: 192 / 0.8209 GB, free: 384 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.41e-06/0.003288, allocations: 4.375 kB / 0.8209 GB, free: 380 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.655e-05/0.003314, allocations: 384 / 0.8209 GB, free: 380 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.063e-05/0.003325, allocations: 11.86 kB / 0.8209 GB, free: 368 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.934e-05/0.003394, allocations: 70.66 kB / 0.821 GB, free: 280 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 3.106e-05/0.003425, allocations: 14.58 kB / 0.821 GB, free: 256 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.543e-05/0.003441, allocations: 8.953 kB / 0.821 GB, free: 244 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.003457, allocations: 0 / 0.821 GB, free: 244 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.003478, allocations: 30.56 kB / 0.821 GB, free: 204 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=1): time 1.814e-06/0.003479, allocations: 3.984 kB / 0.821 GB, free: 200 kB / 0.7917 GB Notification: Performance of matching and sorting (n=1): time 8.771e-05/0.003567, allocations: 33.77 kB / 0.8211 GB, free: 160 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.003595, allocations: 63.39 kB / 0.8211 GB, free: 84 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.04e-05/0.003665, allocations: 110.7 kB / 0.8212 GB, free: 15.96 MB / 0.8074 GB Notification: Performance of collectPreVariables (initialization): time 8.687e-06/0.003674, allocations: 29.69 kB / 0.8213 GB, free: 15.93 MB / 0.8074 GB Notification: Performance of collectInitialEqns (initialization): time 2.252e-05/0.003696, allocations: 88.12 kB / 0.8214 GB, free: 15.84 MB / 0.8074 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.003715, allocations: 0 / 0.8214 GB, free: 15.84 MB / 0.8074 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.051e-05/0.003735, allocations: 13.72 kB / 0.8214 GB, free: 15.82 MB / 0.8074 GB Notification: Performance of setup shared object (initialization): time 7.267e-05/0.003808, allocations: 318.8 kB / 0.8217 GB, free: 15.5 MB / 0.8074 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.029e-06/0.003813, allocations: 0 / 0.8217 GB, free: 15.5 MB / 0.8074 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.07e-06/0.003818, allocations: 0 / 0.8217 GB, free: 15.5 MB / 0.8074 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.267e-05/0.003841, allocations: 15.73 kB / 0.8217 GB, free: 15.48 MB / 0.8074 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.003843, allocations: 7.938 kB / 0.8217 GB, free: 15.47 MB / 0.8074 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.851e-05/0.003881, allocations: 29.7 kB / 0.8217 GB, free: 15.43 MB / 0.8074 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.003894, allocations: 8 kB / 0.8217 GB, free: 15.43 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.003898, allocations: 0 / 0.8217 GB, free: 15.43 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.00391, allocations: 0 / 0.8217 GB, free: 15.43 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.561e-05/0.003956, allocations: 0 / 0.8217 GB, free: 15.43 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.00396, allocations: 0 / 0.8217 GB, free: 15.43 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.123e-05/0.003971, allocations: 8 kB / 0.8217 GB, free: 15.42 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.003976, allocations: 3.984 kB / 0.8217 GB, free: 15.41 MB / 0.8074 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 (1): * Single equations (assignments): 1 * 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 4.729e-05/0.004024, allocations: 116.6 kB / 0.8219 GB, free: 15.29 MB / 0.8074 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-06/0.004027, allocations: 0 / 0.8219 GB, free: 15.29 MB / 0.8074 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.456e-05/0.004092, allocations: 53.03 kB / 0.8219 GB, free: 15.23 MB / 0.8074 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.004093, allocations: 0 / 0.8219 GB, free: 15.23 MB / 0.8074 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.004095, allocations: 3.938 kB / 0.8219 GB, free: 15.23 MB / 0.8074 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.004097, allocations: 0 / 0.8219 GB, free: 15.23 MB / 0.8074 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.486e-05/0.004152, allocations: 73.83 kB / 0.822 GB, free: 15.14 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.11e-07/0.004152, allocations: 0 / 0.822 GB, free: 15.14 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.186e-05/0.004164, allocations: 0 / 0.822 GB, free: 15.14 MB / 0.8074 GB Notification: Performance of postOpt removeConstants (simulation): time 7.785e-06/0.004172, allocations: 15.94 kB / 0.822 GB, free: 15.12 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.004173, allocations: 0 / 0.822 GB, free: 15.12 MB / 0.8074 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-06/0.004176, allocations: 4.031 kB / 0.822 GB, free: 15.12 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.004177, allocations: 0 / 0.822 GB, free: 15.12 MB / 0.8074 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-07/0.004177, allocations: 0 / 0.822 GB, free: 15.12 MB / 0.8074 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.242e-05/0.00422, allocations: 59.91 kB / 0.8221 GB, free: 15.04 MB / 0.8074 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.806e-06/0.004229, allocations: 3.984 kB / 0.8221 GB, free: 15.04 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.839e-06/0.004233, allocations: 3.938 kB / 0.8221 GB, free: 15.03 MB / 0.8074 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.678e-06/0.004243, allocations: 4 kB / 0.8221 GB, free: 15.03 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-06/0.004245, allocations: 0 / 0.8221 GB, free: 15.03 MB / 0.8074 GB Notification: Performance of sorting global known variables: time 1.517e-05/0.00426, allocations: 12.84 kB / 0.8221 GB, free: 15.01 MB / 0.8074 GB Notification: Performance of sort global known variables: time 5e-08/0.00426, allocations: 0 / 0.8221 GB, free: 15.01 MB / 0.8074 GB Notification: Performance of remove unused functions: time 9.533e-05/0.004355, allocations: 8.031 kB / 0.8221 GB, free: 15 MB / 0.8074 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0001718/0.004527, allocations: 93.02 kB / 0.8222 GB, free: 14.91 MB / 0.8074 GB Notification: Performance of simCode: created initialization part: time 5.32e-05/0.00458, allocations: 12.86 kB / 0.8222 GB, free: 14.89 MB / 0.8074 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.004585, allocations: 4 kB / 0.8222 GB, free: 14.89 MB / 0.8074 GB Notification: Performance of simCode: created simulation system equations: time 8.496e-06/0.004594, allocations: 4.859 kB / 0.8222 GB, free: 14.88 MB / 0.8074 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.08e-05/0.004665, allocations: 16.11 kB / 0.8222 GB, free: 14.87 MB / 0.8074 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003204/0.004985, allocations: 127.4 kB / 0.8223 GB, free: 14.71 MB / 0.8074 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.516e-05/0.00501, allocations: 51.36 kB / 0.8224 GB, free: 14.64 MB / 0.8074 GB Notification: Performance of simCode: alias equations: time 1.597e-05/0.005026, allocations: 4 kB / 0.8224 GB, free: 14.64 MB / 0.8074 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.868e-05/0.005055, allocations: 51.36 kB / 0.8224 GB, free: 14.59 MB / 0.8074 GB Notification: Performance of SimCode: time 4.41e-07/0.005055, allocations: 0 / 0.8224 GB, free: 14.59 MB / 0.8074 GB Notification: Performance of Templates: time 0.002127/0.007182, allocations: 0.5887 MB / 0.823 GB, free: 14 MB / 0.8074 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.115437658503652]