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.001044/0.001044, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001187/0.001187, allocations: 169 kB / 24.28 MB, free: 280 kB / 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 1.005/1.005, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.786/1.786, allocations: 359 MB / 0.6055 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.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.934e-06/1.934e-06, allocations: 0 / 0.7871 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.818e-05/3.012e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002422/0.002453, allocations: 1.536 MB / 0.7886 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007396/0.003192, allocations: 468.1 kB / 0.789 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.491e-05/0.003237, allocations: 0.7188 kB / 0.789 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.31e-05/0.00327, allocations: 9.047 kB / 0.789 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.389e-05/0.003364, allocations: 3.938 kB / 0.789 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001718/0.003536, allocations: 19.92 kB / 0.789 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.4e-05/0.00363, allocations: 60.39 kB / 0.7891 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.00375, allocations: 12.72 kB / 0.7891 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.935e-05/0.003829, allocations: 27.91 kB / 0.7891 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.953e-05/0.003899, allocations: 23.95 kB / 0.7892 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/0.003923, allocations: 5.125 kB / 0.7892 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.169e-05/0.003935, allocations: 4 kB / 0.7892 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.406e-05/0.003959, allocations: 7.938 kB / 0.7892 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.763e-05/0.004007, allocations: 16.58 kB / 0.7892 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.004116, allocations: 38.58 kB / 0.7892 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.004119, allocations: 0 / 0.7892 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.42e-07/0.00412, allocations: 0 / 0.7892 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.004126, allocations: 0 / 0.7892 GB, free: 10.63 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.0004842/0.00461, allocations: 388.5 kB / 0.7896 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.004655, allocations: 8.031 kB / 0.7896 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.121e-05/0.004706, allocations: 8.891 kB / 0.7896 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.004822, allocations: 114.1 kB / 0.7897 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.004837, allocations: 4.375 kB / 0.7897 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.00485, allocations: 4.375 kB / 0.7897 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.00496, allocations: 62.11 kB / 0.7898 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.00497, allocations: 0.7812 kB / 0.7898 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.004981, allocations: 1.219 kB / 0.7898 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.004992, allocations: 3.938 kB / 0.7898 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.251e-05/0.005034, allocations: 15.98 kB / 0.7898 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004287/0.005463, allocations: 297.8 kB / 0.7901 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.111e-05/0.005554, allocations: 51.05 kB / 0.7902 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.712e-05/0.005591, allocations: 27.7 kB / 0.7902 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.425e-06/0.0056, allocations: 1.812 kB / 0.7902 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001304/0.00573, allocations: 73.08 kB / 0.7902 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 2.154e-06/0.005732, allocations: 0 / 0.7902 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.000245/0.005977, allocations: 93.61 kB / 0.7903 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.006023, allocations: 55.41 kB / 0.7904 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.726e-05/0.00611, allocations: 171.3 kB / 0.7906 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.006123, allocations: 25.7 kB / 0.7906 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.994e-05/0.006173, allocations: 134.9 kB / 0.7907 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.006197, allocations: 23.84 kB / 0.7907 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.882e-05/0.006236, allocations: 31.91 kB / 0.7908 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.006356, allocations: 498 kB / 0.7912 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.598e-05/0.006382, allocations: 15.98 kB / 0.7913 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.284e-05/0.006425, allocations: 50.69 kB / 0.7913 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.132e-05/0.006496, allocations: 70.84 kB / 0.7914 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.006499, allocations: 2.562 kB / 0.7914 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001126/0.006612, allocations: 97.44 kB / 0.7915 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.006628, allocations: 8 kB / 0.7915 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.006634, allocations: 0 / 0.7915 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.006651, allocations: 4 kB / 0.7915 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.764e-05/0.006738, allocations: 8 kB / 0.7915 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.006748, allocations: 7.984 kB / 0.7915 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.52e-05/0.006793, allocations: 12.59 kB / 0.7915 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.006799, allocations: 4.719 kB / 0.7915 GB, free: 8.082 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 9.861e-05/0.006897, allocations: 171.7 kB / 0.7917 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.435e-05/0.006912, allocations: 13.52 kB / 0.7917 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.45e-05/0.006936, allocations: 8.125 kB / 0.7917 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.006939, allocations: 3.984 kB / 0.7917 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.006944, allocations: 0 / 0.7917 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.006947, allocations: 4 kB / 0.7917 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003197/0.007267, allocations: 345.9 kB / 0.792 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.007268, allocations: 0.6875 kB / 0.792 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.787e-05/0.007286, allocations: 4 kB / 0.792 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.007289, allocations: 0.6875 kB / 0.792 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.007297, allocations: 0 / 0.792 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.007299, allocations: 4.938 kB / 0.792 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.007301, allocations: 0 / 0.792 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.007436, allocations: 240.8 kB / 0.7923 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.217e-06/0.007445, allocations: 3.953 kB / 0.7923 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.007457, allocations: 0 / 0.7923 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.899e-05/0.007496, allocations: 8.578 kB / 0.7923 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.00754, allocations: 15.92 kB / 0.7923 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.007545, allocations: 0.9375 kB / 0.7923 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.656e-05/0.007582, allocations: 123.2 kB / 0.7924 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.007582, allocations: 4.844 kB / 0.7924 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001686/0.00775, allocations: 12 kB / 0.7924 GB, free: 7.078 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 0.0001014/0.007852, allocations: 104 kB / 0.7925 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000131/0.007983, allocations: 47.94 kB / 0.7926 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.007985, allocations: 4 kB / 0.7926 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.235e-05/0.008027, allocations: 32.52 kB / 0.7926 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.008259, allocations: 24.66 kB / 0.7926 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000315/0.008574, allocations: 144.3 kB / 0.7928 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.396e-05/0.008618, allocations: 59.36 kB / 0.7928 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.127e-05/0.008649, allocations: 7.969 kB / 0.7928 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.675e-05/0.008686, allocations: 20.5 kB / 0.7929 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of SimCode: time 1.162e-06/0.008687, allocations: 2.188 kB / 0.7929 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of Templates: time 0.002829/0.01152, allocations: 0.8153 MB / 0.7937 GB, free: 5.805 MB / 0.7448 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.117567057022825]