Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001194/0.001194, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001255/0.001255, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.872/0.872, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.752/1.752, allocations: 377.9 MB / 0.6228 GB, free: 8.676 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.Continuous.Examples.OffTimer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.9821 GB, free: 2.16 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.318e-05/2.471e-05, allocations: 6.281 kB / 0.9821 GB, free: 2.152 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.001755/0.00178, allocations: 1.493 MB / 0.9836 GB, free: 0.6523 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0006059/0.002386, allocations: 454.8 kB / 0.984 GB, free: 208 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.684e-05/0.002423, allocations: 0 / 0.984 GB, free: 208 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.87e-05/0.002451, allocations: 3.938 kB / 0.984 GB, free: 204 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.543e-05/0.002527, allocations: 15.92 kB / 0.9841 GB, free: 188 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001466/0.002673, allocations: 19.91 kB / 0.9841 GB, free: 168 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.226e-05/0.002755, allocations: 47.86 kB / 0.9841 GB, free: 120 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.002858, allocations: 15.97 kB / 0.9841 GB, free: 104 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.304e-05/0.002931, allocations: 27.92 kB / 0.9842 GB, free: 76 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.758e-05/0.002989, allocations: 15.97 kB / 0.9842 GB, free: 60 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.375e-05/0.003012, allocations: 7.938 kB / 0.9842 GB, free: 52 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 8.746e-06/0.003021, allocations: 8 kB / 0.9842 GB, free: 44 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.424e-05/0.003045, allocations: 19.91 kB / 0.9842 GB, free: 24 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.247e-05/0.003078, allocations: 8 kB / 0.9842 GB, free: 16 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.003202, allocations: 51.89 kB / 0.9843 GB, free: 15.96 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.003205, allocations: 0 / 0.9843 GB, free: 15.96 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.773e-06/0.003206, allocations: 0 / 0.9843 GB, free: 15.96 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.003212, allocations: 0 / 0.9843 GB, free: 15.96 MB / 0.948 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.0004132/0.003625, allocations: 286.2 kB / 0.9845 GB, free: 15.65 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.003663, allocations: 8.031 kB / 0.9845 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.44e-05/0.003697, allocations: 8.938 kB / 0.9846 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.018e-05/0.003787, allocations: 113.7 kB / 0.9847 GB, free: 15.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.0038, allocations: 8.375 kB / 0.9847 GB, free: 15.49 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.003811, allocations: 8.359 kB / 0.9847 GB, free: 15.48 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.666e-05/0.003908, allocations: 58.09 kB / 0.9847 GB, free: 15.43 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.003915, allocations: 192 / 0.9847 GB, free: 15.43 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.003924, allocations: 384 / 0.9847 GB, free: 15.43 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.003931, allocations: 7.938 kB / 0.9847 GB, free: 15.42 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.225e-05/0.003983, allocations: 23.98 kB / 0.9848 GB, free: 15.39 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003447/0.004328, allocations: 240.5 kB / 0.985 GB, free: 15.13 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.662e-05/0.004414, allocations: 46.56 kB / 0.985 GB, free: 15.07 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.192e-05/0.004446, allocations: 28.88 kB / 0.9851 GB, free: 15.04 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.258e-06/0.004455, allocations: 7.938 kB / 0.9851 GB, free: 15.04 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001293/0.004585, allocations: 87.28 kB / 0.9852 GB, free: 14.94 MB / 0.948 GB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.004586, allocations: 0 / 0.9852 GB, free: 14.94 MB / 0.948 GB Notification: Performance of matching and sorting (n=9): time 0.0001855/0.004771, allocations: 97.61 kB / 0.9853 GB, free: 14.84 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.004811, allocations: 55.41 kB / 0.9853 GB, free: 14.77 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.603e-05/0.004867, allocations: 109.8 kB / 0.9854 GB, free: 14.65 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.00488, allocations: 29.7 kB / 0.9854 GB, free: 14.62 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.579e-05/0.004916, allocations: 84.14 kB / 0.9855 GB, free: 14.53 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.004937, allocations: 23.8 kB / 0.9855 GB, free: 14.51 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-05/0.004971, allocations: 33.7 kB / 0.9856 GB, free: 14.47 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.655e-05/0.005048, allocations: 314.8 kB / 0.9859 GB, free: 14.15 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.579e-05/0.005073, allocations: 15.98 kB / 0.9859 GB, free: 14.14 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.844e-05/0.005112, allocations: 47.42 kB / 0.9859 GB, free: 14.08 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.746e-05/0.005179, allocations: 67.36 kB / 0.986 GB, free: 14 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.005182, allocations: 0 / 0.986 GB, free: 14 MB / 0.948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.802e-05/0.00528, allocations: 101.5 kB / 0.9861 GB, free: 13.89 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.005292, allocations: 12.03 kB / 0.9861 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.005297, allocations: 0 / 0.9861 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.005308, allocations: 0 / 0.9861 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.86e-05/0.005367, allocations: 11.98 kB / 0.9861 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.005371, allocations: 4 kB / 0.9861 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.781e-05/0.005409, allocations: 8 kB / 0.9861 GB, free: 13.86 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.78e-06/0.005415, allocations: 4 kB / 0.9861 GB, free: 13.86 MB / 0.948 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 6.674e-05/0.005481, allocations: 121.8 kB / 0.9863 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.037e-06/0.00549, allocations: 11.89 kB / 0.9863 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.975e-05/0.00551, allocations: 8.125 kB / 0.9863 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.005512, allocations: 4 kB / 0.9863 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.005518, allocations: 0 / 0.9863 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.005522, allocations: 4 kB / 0.9863 GB, free: 13.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002688/0.005791, allocations: 314.3 kB / 0.9866 GB, free: 13.36 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.005792, allocations: 288 / 0.9866 GB, free: 13.36 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.238e-05/0.005804, allocations: 0 / 0.9866 GB, free: 13.36 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.005806, allocations: 4 kB / 0.9866 GB, free: 13.36 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.005813, allocations: 0 / 0.9866 GB, free: 13.36 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.005815, allocations: 0 / 0.9866 GB, free: 13.36 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.005815, allocations: 0 / 0.9866 GB, free: 13.36 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/0.005926, allocations: 199.3 kB / 0.9868 GB, free: 13.14 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.303e-06/0.005933, allocations: 0 / 0.9868 GB, free: 13.14 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.005944, allocations: 0 / 0.9868 GB, free: 13.14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.486e-05/0.005989, allocations: 7.984 kB / 0.9868 GB, free: 13.14 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.353e-05/0.006043, allocations: 11.98 kB / 0.9868 GB, free: 13.12 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.00605, allocations: 4 kB / 0.9868 GB, free: 13.12 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.616e-05/0.006086, allocations: 87.27 kB / 0.9869 GB, free: 13.04 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006086, allocations: 0 / 0.9869 GB, free: 13.04 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001784/0.006265, allocations: 12 kB / 0.9869 GB, free: 13.02 MB / 0.948 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 7.832e-05/0.006343, allocations: 103.7 kB / 0.987 GB, free: 12.91 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001066/0.00645, allocations: 47.92 kB / 0.987 GB, free: 12.86 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.006451, allocations: 0 / 0.987 GB, free: 12.86 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.632e-05/0.006487, allocations: 27.92 kB / 0.9871 GB, free: 12.84 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.006693, allocations: 11.94 kB / 0.9871 GB, free: 12.82 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003153/0.007009, allocations: 194.4 kB / 0.9873 GB, free: 12.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.441e-05/0.007053, allocations: 67.34 kB / 0.9873 GB, free: 12.52 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.8e-05/0.007081, allocations: 16.94 kB / 0.9873 GB, free: 12.5 MB / 0.948 GB Notification: Performance of SimCode: time 3.81e-07/0.007081, allocations: 0 / 0.9873 GB, free: 12.5 MB / 0.948 GB Notification: Performance of Templates: time 0.001791/0.008872, allocations: 0.8811 MB / 0.9882 GB, free: 11.62 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.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: 6.633608576841652]