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.001352/0.001352, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.001709/0.001709, allocations: 185 kB / 24.09 MB, free: 416 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 0.9317/0.9317, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.726/1.726, allocations: 359 MB / 0.6055 GB, free: 10.86 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.613e-06/1.613e-06, allocations: 0 / 0.7875 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.542e-05/1.703e-05, allocations: 5.891 kB / 0.7875 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001776/0.001793, allocations: 1.535 MB / 0.789 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0005934/0.002386, allocations: 469.4 kB / 0.7895 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.929e-05/0.002425, allocations: 4 kB / 0.7895 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.111e-05/0.002457, allocations: 0 / 0.7895 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.378e-05/0.00253, allocations: 8.719 kB / 0.7895 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001264/0.002657, allocations: 27.89 kB / 0.7895 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.134e-05/0.002728, allocations: 48.42 kB / 0.7896 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.416e-05/0.002812, allocations: 11.92 kB / 0.7896 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.447e-05/0.002877, allocations: 41.14 kB / 0.7896 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.768e-05/0.002934, allocations: 7.984 kB / 0.7896 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.002954, allocations: 4 kB / 0.7896 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.207e-06/0.002963, allocations: 5.625 kB / 0.7896 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.347e-05/0.002987, allocations: 15.92 kB / 0.7896 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.754e-05/0.003014, allocations: 15.98 kB / 0.7897 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.428e-05/0.003098, allocations: 35.89 kB / 0.7897 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.0031, allocations: 1.219 kB / 0.7897 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.42e-07/0.003101, allocations: 0 / 0.7897 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.003104, allocations: 0 / 0.7897 GB, free: 9.98 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.0003477/0.003452, allocations: 385.1 kB / 0.7901 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.00349, allocations: 12.03 kB / 0.7901 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.614e-05/0.003516, allocations: 9.797 kB / 0.7901 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.669e-05/0.003583, allocations: 116.6 kB / 0.7902 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.003592, allocations: 1.031 kB / 0.7902 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.415e-06/0.003601, allocations: 4.375 kB / 0.7902 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.96e-05/0.00367, allocations: 51.78 kB / 0.7903 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.012e-06/0.003676, allocations: 8.109 kB / 0.7903 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.003683, allocations: 384 / 0.7903 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.003689, allocations: 7.938 kB / 0.7903 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.478e-05/0.003714, allocations: 16.8 kB / 0.7903 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002698/0.003984, allocations: 267.7 kB / 0.7905 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.445e-05/0.004048, allocations: 55.06 kB / 0.7906 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.263e-05/0.004071, allocations: 19.7 kB / 0.7906 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.865e-06/0.004079, allocations: 3.984 kB / 0.7906 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.826e-05/0.004167, allocations: 81.02 kB / 0.7907 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.763e-06/0.004169, allocations: 0 / 0.7907 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.000153/0.004322, allocations: 77.62 kB / 0.7908 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.004358, allocations: 63.33 kB / 0.7908 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.337e-05/0.004421, allocations: 162.6 kB / 0.791 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.004432, allocations: 25.7 kB / 0.791 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.607e-05/0.004478, allocations: 144.5 kB / 0.7911 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/0.004497, allocations: 19.84 kB / 0.7912 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.00453, allocations: 31.36 kB / 0.7912 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.004642, allocations: 0.4922 MB / 0.7917 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.452e-05/0.004656, allocations: 13.42 kB / 0.7917 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.378e-05/0.00469, allocations: 54.66 kB / 0.7917 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.996e-05/0.00474, allocations: 58.69 kB / 0.7918 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.004741, allocations: 0.5 kB / 0.7918 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.22e-05/0.004824, allocations: 90.84 kB / 0.7919 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.004837, allocations: 8 kB / 0.7919 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.004841, allocations: 0 / 0.7919 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.004851, allocations: 3.938 kB / 0.7919 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.463e-05/0.004906, allocations: 17.33 kB / 0.7919 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.00491, allocations: 4 kB / 0.7919 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.856e-05/0.004938, allocations: 4 kB / 0.7919 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.004943, allocations: 0.5938 kB / 0.7919 GB, free: 7.492 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 6.966e-05/0.005012, allocations: 168 kB / 0.7921 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.014e-05/0.005022, allocations: 19.83 kB / 0.7921 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.287e-05/0.005045, allocations: 12.11 kB / 0.7921 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.005047, allocations: 0 / 0.7921 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.005049, allocations: 1.094 kB / 0.7921 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.005052, allocations: 0 / 0.7921 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002362/0.005288, allocations: 326.5 kB / 0.7924 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.00529, allocations: 0 / 0.7924 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.242e-05/0.005302, allocations: 0.5312 kB / 0.7924 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.005304, allocations: 4.938 kB / 0.7924 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.00531, allocations: 4 kB / 0.7924 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.005311, allocations: 0 / 0.7924 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.005312, allocations: 5.016 kB / 0.7924 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001012/0.005414, allocations: 227.8 kB / 0.7927 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.097e-06/0.005423, allocations: 12.47 kB / 0.7927 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.839e-06/0.005433, allocations: 9.438 kB / 0.7927 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.562e-05/0.005468, allocations: 7.984 kB / 0.7927 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.923e-05/0.005497, allocations: 7.922 kB / 0.7927 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.005504, allocations: 4 kB / 0.7927 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.443e-05/0.005538, allocations: 128.3 kB / 0.7928 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.005538, allocations: 0 / 0.7928 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001385/0.005677, allocations: 12 kB / 0.7928 GB, free: 6.512 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.852e-05/0.005745, allocations: 112 kB / 0.7929 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.731e-05/0.005822, allocations: 40.14 kB / 0.793 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.005823, allocations: 0.8125 kB / 0.793 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.013e-05/0.005854, allocations: 27.67 kB / 0.793 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001752/0.006029, allocations: 19.16 kB / 0.793 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002102/0.006239, allocations: 147.3 kB / 0.7932 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.435e-05/0.006273, allocations: 61.75 kB / 0.7932 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.059e-05/0.006294, allocations: 7.984 kB / 0.7932 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.523e-05/0.006349, allocations: 79.17 kB / 0.7933 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of SimCode: time 5.01e-07/0.00635, allocations: 0 / 0.7933 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of Templates: time 0.002391/0.00874, allocations: 0.9014 MB / 0.7942 GB, free: 5.109 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: 4.728600197006017]