Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.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.001354/0.001354, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001351/0.001351, allocations: 159 kB / 24.86 MB, free: 8.312 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.935/0.935, allocations: 177.1 MB / 205.3 MB, free: 4.516 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.899/1.899, allocations: 359 MB / 0.6063 GB, free: 11.2 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.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.7883 GB, free: 0.5234 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.326e-05/3.491e-05, allocations: 10.25 kB / 0.7883 GB, free: 0.5117 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003267/0.003302, allocations: 1.525 MB / 0.7898 GB, free: 14.97 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001107/0.004409, allocations: 470.8 kB / 0.7902 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.658e-05/0.004466, allocations: 4 kB / 0.7902 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.724e-05/0.004503, allocations: 0 / 0.7902 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.004606, allocations: 11.86 kB / 0.7902 GB, free: 14.49 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001739/0.00478, allocations: 23.86 kB / 0.7903 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.004884, allocations: 51.84 kB / 0.7903 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.005002, allocations: 11.97 kB / 0.7903 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.371e-05/0.005096, allocations: 31.92 kB / 0.7904 GB, free: 14.37 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 9.537e-05/0.005191, allocations: 11.97 kB / 0.7904 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.005217, allocations: 4 kB / 0.7904 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.219e-05/0.005229, allocations: 8 kB / 0.7904 GB, free: 14.35 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.09e-05/0.00526, allocations: 19.91 kB / 0.7904 GB, free: 14.33 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.749e-05/0.005298, allocations: 12 kB / 0.7904 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.005422, allocations: 35.89 kB / 0.7904 GB, free: 14.28 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.005428, allocations: 3.984 kB / 0.7905 GB, free: 14.28 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.132e-06/0.005429, allocations: 0 / 0.7905 GB, free: 14.28 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.005434, allocations: 0 / 0.7905 GB, free: 14.28 MB / 0.7605 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.0005164/0.005951, allocations: 384.4 kB / 0.7908 GB, free: 13.87 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.005993, allocations: 12.03 kB / 0.7908 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.916e-05/0.006032, allocations: 8.891 kB / 0.7908 GB, free: 13.85 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.006143, allocations: 120.6 kB / 0.791 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.006158, allocations: 4.359 kB / 0.791 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.00617, allocations: 4.375 kB / 0.791 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.222e-05/0.006262, allocations: 50.19 kB / 0.791 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.00627, allocations: 192 / 0.791 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.006278, allocations: 384 / 0.791 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.006287, allocations: 7.938 kB / 0.791 GB, free: 13.63 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.735e-05/0.006325, allocations: 15.97 kB / 0.791 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003834/0.006708, allocations: 268.3 kB / 0.7913 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 9.323e-05/0.006801, allocations: 55.08 kB / 0.7913 GB, free: 13.26 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.043e-05/0.006832, allocations: 23.69 kB / 0.7914 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-06/0.006839, allocations: 0 / 0.7914 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001229/0.006962, allocations: 73.05 kB / 0.7914 GB, free: 13.15 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.006963, allocations: 0 / 0.7914 GB, free: 13.15 MB / 0.7605 GB Notification: Performance of matching and sorting (n=9): time 0.0005178/0.007481, allocations: 85.56 kB / 0.7915 GB, free: 13.06 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.007533, allocations: 59.34 kB / 0.7916 GB, free: 12.99 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.819e-05/0.007631, allocations: 165.9 kB / 0.7917 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.007649, allocations: 29.64 kB / 0.7918 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 5.901e-05/0.007708, allocations: 138.8 kB / 0.7919 GB, free: 12.63 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.007737, allocations: 27.83 kB / 0.7919 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.641e-05/0.007783, allocations: 31.36 kB / 0.7919 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.007936, allocations: 0.4884 MB / 0.7924 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.2e-05/0.007968, allocations: 11.98 kB / 0.7924 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.943e-05/0.008018, allocations: 42.75 kB / 0.7925 GB, free: 12 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.174e-05/0.0081, allocations: 66.66 kB / 0.7925 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.008102, allocations: 0 / 0.7925 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001371/0.008239, allocations: 89.55 kB / 0.7926 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.008255, allocations: 8 kB / 0.7926 GB, free: 11.81 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.008262, allocations: 7.969 kB / 0.7926 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.008273, allocations: 288 / 0.7926 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.312e-05/0.008347, allocations: 12 kB / 0.7927 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.008353, allocations: 7.984 kB / 0.7927 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.06e-05/0.008403, allocations: 7.953 kB / 0.7927 GB, free: 11.78 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.008409, allocations: 0 / 0.7927 GB, free: 11.78 MB / 0.7605 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 9.736e-05/0.008507, allocations: 172.4 kB / 0.7928 GB, free: 11.6 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.692e-05/0.008524, allocations: 7.938 kB / 0.7928 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.627e-05/0.00855, allocations: 12.12 kB / 0.7929 GB, free: 11.58 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.008553, allocations: 0 / 0.7929 GB, free: 11.58 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.008555, allocations: 4 kB / 0.7929 GB, free: 11.58 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.008561, allocations: 3.984 kB / 0.7929 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000406/0.008967, allocations: 321.9 kB / 0.7932 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.008972, allocations: 4 kB / 0.7932 GB, free: 11.22 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.128e-05/0.009013, allocations: 3.984 kB / 0.7932 GB, free: 11.22 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.009017, allocations: 4 kB / 0.7932 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.009025, allocations: 0 / 0.7932 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.009028, allocations: 0 / 0.7932 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.00903, allocations: 3.938 kB / 0.7932 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.009209, allocations: 228.3 kB / 0.7934 GB, free: 10.97 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 1.881e-05/0.009227, allocations: 11.95 kB / 0.7934 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.03e-05/0.009238, allocations: 4 kB / 0.7934 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.619e-05/0.009294, allocations: 4 kB / 0.7934 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.009328, allocations: 3.984 kB / 0.7934 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.009336, allocations: 7.984 kB / 0.7934 GB, free: 10.94 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 3.469e-05/0.00937, allocations: 123.2 kB / 0.7935 GB, free: 10.82 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.00937, allocations: 0 / 0.7935 GB, free: 10.82 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0001619/0.009532, allocations: 12 kB / 0.7936 GB, free: 10.8 MB / 0.7605 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 0.000104/0.009636, allocations: 102.7 kB / 0.7937 GB, free: 10.7 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 9.243e-05/0.009729, allocations: 55.69 kB / 0.7937 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.00973, allocations: 0 / 0.7937 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 3.544e-05/0.009765, allocations: 35.59 kB / 0.7937 GB, free: 10.6 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.00998, allocations: 11.94 kB / 0.7938 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002326/0.01021, allocations: 146 kB / 0.7939 GB, free: 10.42 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.189e-05/0.01024, allocations: 59.34 kB / 0.7939 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 2.297e-05/0.01027, allocations: 4 kB / 0.794 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.342e-05/0.01032, allocations: 82.19 kB / 0.794 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of SimCode: time 1.062e-06/0.01032, allocations: 0 / 0.794 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of Templates: time 0.002454/0.01278, allocations: 0.9217 MB / 0.7949 GB, free: 9.344 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Warning: Resultfile and Reference have different end time points! Reffile[511]=0.000000 File[2520]=0.000400 " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.2789199110120535]