Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.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.0009831/0.0009831, allocations: 87.58 kB / 20.45 MB, free: 4.121 MB / 18.57 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.0009884/0.0009884, allocations: 161 kB / 23.82 MB, free: 0.7539 MB / 18.57 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.9737/0.9737, allocations: 177.1 MB / 204.2 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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 1.778/1.778, allocations: 359 MB / 0.6052 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 178] 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.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.787 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.096e-05/2.26e-05, allocations: 11.25 kB / 0.787 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.001903/0.001925, allocations: 1.526 MB / 0.7885 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0006335/0.002559, allocations: 468.2 kB / 0.789 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.682e-05/0.002596, allocations: 5.062 kB / 0.789 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.286e-05/0.002628, allocations: 7.922 kB / 0.789 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.301e-05/0.002711, allocations: 3.938 kB / 0.789 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001567/0.002868, allocations: 24.97 kB / 0.789 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.618e-05/0.002954, allocations: 51.84 kB / 0.7891 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.003057, allocations: 19.91 kB / 0.7891 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.406e-05/0.003121, allocations: 24.55 kB / 0.7891 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.267e-05/0.003184, allocations: 20.59 kB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.003207, allocations: 4 kB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.042e-05/0.003217, allocations: 4.906 kB / 0.7891 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.248e-05/0.003239, allocations: 11.98 kB / 0.7892 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.775e-05/0.003277, allocations: 24.52 kB / 0.7892 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.903e-05/0.003376, allocations: 27.95 kB / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.003378, allocations: 1.594 kB / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.11e-07/0.003378, allocations: 0 / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.003383, allocations: 0 / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004087/0.003792, allocations: 388.4 kB / 0.7896 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.003837, allocations: 15.56 kB / 0.7896 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.003877, allocations: 8.891 kB / 0.7896 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.064e-05/0.003968, allocations: 112.6 kB / 0.7897 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.00398, allocations: 4.375 kB / 0.7897 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.003993, allocations: 4.375 kB / 0.7897 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.974e-05/0.004083, allocations: 54.17 kB / 0.7898 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.004091, allocations: 4.188 kB / 0.7898 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.004101, allocations: 384 / 0.7898 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.964e-06/0.004109, allocations: 3.938 kB / 0.7898 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.856e-05/0.004147, allocations: 16.7 kB / 0.7898 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003575/0.004505, allocations: 293.2 kB / 0.7901 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.129e-05/0.004586, allocations: 51.08 kB / 0.7901 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.592e-05/0.004622, allocations: 31.67 kB / 0.7902 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-06/0.00463, allocations: 1.125 kB / 0.7902 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.624e-05/0.004726, allocations: 73.08 kB / 0.7902 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.004728, allocations: 0 / 0.7902 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.000187/0.004915, allocations: 98.05 kB / 0.7903 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.00495, allocations: 52.28 kB / 0.7904 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.462e-05/0.005024, allocations: 169.9 kB / 0.7905 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.005036, allocations: 25.7 kB / 0.7906 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.927e-05/0.005085, allocations: 139.8 kB / 0.7907 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.005107, allocations: 23.84 kB / 0.7907 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.005141, allocations: 32.41 kB / 0.7907 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.005259, allocations: 496.1 kB / 0.7912 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.488e-05/0.005284, allocations: 15.98 kB / 0.7912 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.109e-05/0.005325, allocations: 48.09 kB / 0.7913 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.53e-05/0.005391, allocations: 74.78 kB / 0.7913 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.005393, allocations: 0 / 0.7913 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.902e-05/0.005492, allocations: 98 kB / 0.7914 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.005504, allocations: 8.562 kB / 0.7914 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.005509, allocations: 0.7812 kB / 0.7914 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.005523, allocations: 0 / 0.7914 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.751e-05/0.005601, allocations: 17.14 kB / 0.7915 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.005607, allocations: 4 kB / 0.7915 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.326e-05/0.005641, allocations: 4 kB / 0.7915 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.005645, allocations: 4.906 kB / 0.7915 GB, free: 7.812 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.196e-05/0.005717, allocations: 170.5 kB / 0.7916 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.307e-05/0.00573, allocations: 17.58 kB / 0.7917 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.336e-05/0.005753, allocations: 12.11 kB / 0.7917 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.005755, allocations: 0 / 0.7917 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.005759, allocations: 0 / 0.7917 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.005762, allocations: 0.625 kB / 0.7917 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002537/0.006016, allocations: 341.3 kB / 0.792 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.006017, allocations: 0.6875 kB / 0.792 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.568e-05/0.006032, allocations: 4.625 kB / 0.792 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.006034, allocations: 0 / 0.792 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.006041, allocations: 5.062 kB / 0.792 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.006043, allocations: 4.062 kB / 0.792 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.006044, allocations: 3.938 kB / 0.792 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.006158, allocations: 232.3 kB / 0.7922 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.143e-06/0.006165, allocations: 9.266 kB / 0.7922 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.006176, allocations: 3.984 kB / 0.7922 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.396e-05/0.00621, allocations: 7.938 kB / 0.7923 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.00625, allocations: 11.98 kB / 0.7923 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.006254, allocations: 0.8125 kB / 0.7923 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.694e-05/0.006291, allocations: 123.2 kB / 0.7924 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006291, allocations: 0.9375 kB / 0.7924 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001487/0.00644, allocations: 16 kB / 0.7924 GB, free: 6.809 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 6.698e-05/0.006507, allocations: 100.5 kB / 0.7925 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001018/0.006608, allocations: 47.84 kB / 0.7925 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.006609, allocations: 0.8438 kB / 0.7925 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.573e-05/0.006655, allocations: 39.59 kB / 0.7926 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.006898, allocations: 28.28 kB / 0.7926 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003184/0.007217, allocations: 150.1 kB / 0.7927 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.564e-05/0.007252, allocations: 63.34 kB / 0.7928 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.002e-05/0.007272, allocations: 0 / 0.7928 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/0.007304, allocations: 23.44 kB / 0.7928 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/0.007305, allocations: 0 / 0.7928 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of Templates: time 0.00233/0.009635, allocations: 0.8243 MB / 0.7936 GB, free: 5.52 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_OffTimer.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.213521666824818]