Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009477/0.0009477, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009858/0.0009858, allocations: 169 kB / 23.27 MB, free: 1.223 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.9452/0.9452, allocations: 177.2 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.354/2.354, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 3.938 kB / 0.8897 GB, free: 9.805 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.722e-05/1.86e-05, allocations: 5.547 kB / 0.8897 GB, free: 9.801 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001843/0.001861, allocations: 1.548 MB / 0.8912 GB, free: 8.242 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0005841/0.002446, allocations: 458.8 kB / 0.8917 GB, free: 7.789 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.581e-05/0.002481, allocations: 0 / 0.8917 GB, free: 7.789 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.58e-05/0.002507, allocations: 3.938 kB / 0.8917 GB, free: 7.785 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.774e-05/0.002585, allocations: 11.92 kB / 0.8917 GB, free: 7.773 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001227/0.002708, allocations: 19.97 kB / 0.8917 GB, free: 7.754 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.374e-05/0.002771, allocations: 55.73 kB / 0.8918 GB, free: 7.699 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.756e-05/0.002859, allocations: 19.91 kB / 0.8918 GB, free: 7.68 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.979e-05/0.002919, allocations: 31.97 kB / 0.8918 GB, free: 7.648 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.556e-05/0.002974, allocations: 11.92 kB / 0.8918 GB, free: 7.637 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.002992, allocations: 4 kB / 0.8918 GB, free: 7.633 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 8.466e-06/0.003, allocations: 4 kB / 0.8918 GB, free: 7.629 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.184e-05/0.003022, allocations: 15.97 kB / 0.8918 GB, free: 7.613 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.87e-05/0.003051, allocations: 19.94 kB / 0.8919 GB, free: 7.594 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 7.812e-05/0.003129, allocations: 35.94 kB / 0.8919 GB, free: 7.559 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.003131, allocations: 0 / 0.8919 GB, free: 7.559 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.51e-07/0.003132, allocations: 0 / 0.8919 GB, free: 7.559 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.996e-06/0.003135, allocations: 4 kB / 0.8919 GB, free: 7.555 MB / 0.8542 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.0003409/0.003475, allocations: 384.5 kB / 0.8923 GB, free: 7.145 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.003509, allocations: 8.031 kB / 0.8923 GB, free: 7.137 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.538e-05/0.003535, allocations: 8.938 kB / 0.8923 GB, free: 7.129 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.962e-05/0.003604, allocations: 128.4 kB / 0.8924 GB, free: 6.977 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.003615, allocations: 4.375 kB / 0.8924 GB, free: 6.973 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.003623, allocations: 4.375 kB / 0.8924 GB, free: 6.969 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.25e-05/0.003685, allocations: 46.25 kB / 0.8925 GB, free: 6.918 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.056e-06/0.003694, allocations: 4.172 kB / 0.8925 GB, free: 6.914 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-06/0.0037, allocations: 384 / 0.8925 GB, free: 6.914 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.003705, allocations: 7.938 kB / 0.8925 GB, free: 6.906 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.422e-05/0.00373, allocations: 19.92 kB / 0.8925 GB, free: 6.887 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002705/0.004, allocations: 264.3 kB / 0.8927 GB, free: 6.602 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.343e-05/0.004064, allocations: 51.08 kB / 0.8928 GB, free: 6.539 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.276e-05/0.004086, allocations: 23.69 kB / 0.8928 GB, free: 6.512 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.271e-06/0.004093, allocations: 0 / 0.8928 GB, free: 6.512 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.532e-05/0.004178, allocations: 80.98 kB / 0.8929 GB, free: 6.418 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=9): time 7.21e-07/0.004179, allocations: 0 / 0.8929 GB, free: 6.418 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9): time 0.0001312/0.00431, allocations: 81.62 kB / 0.893 GB, free: 6.332 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.004341, allocations: 59.39 kB / 0.893 GB, free: 6.262 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.385e-05/0.004405, allocations: 165.9 kB / 0.8932 GB, free: 6.082 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.004418, allocations: 25.7 kB / 0.8932 GB, free: 6.051 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.636e-05/0.004464, allocations: 142.8 kB / 0.8933 GB, free: 5.906 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.004483, allocations: 15.84 kB / 0.8934 GB, free: 5.891 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.004519, allocations: 39.34 kB / 0.8934 GB, free: 5.844 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.004628, allocations: 496.1 kB / 0.8939 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.405e-05/0.004642, allocations: 11.98 kB / 0.8939 GB, free: 5.336 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.224e-05/0.004675, allocations: 46.73 kB / 0.8939 GB, free: 5.273 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.642e-05/0.004731, allocations: 66.86 kB / 0.894 GB, free: 5.191 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.004733, allocations: 0 / 0.894 GB, free: 5.191 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.44e-05/0.004818, allocations: 93.48 kB / 0.8941 GB, free: 5.094 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.004829, allocations: 8 kB / 0.8941 GB, free: 5.086 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.004833, allocations: 3.938 kB / 0.8941 GB, free: 5.082 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/0.004842, allocations: 0 / 0.8941 GB, free: 5.082 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.703e-05/0.004899, allocations: 19.92 kB / 0.8941 GB, free: 5.062 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.004903, allocations: 4 kB / 0.8941 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.813e-05/0.004932, allocations: 0 / 0.8941 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.004936, allocations: 4 kB / 0.8941 GB, free: 5.055 MB / 0.8542 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.815e-05/0.005004, allocations: 168.5 kB / 0.8943 GB, free: 4.879 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.598e-06/0.005014, allocations: 7.938 kB / 0.8943 GB, free: 4.871 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.333e-05/0.005037, allocations: 16.11 kB / 0.8943 GB, free: 4.852 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.005038, allocations: 0 / 0.8943 GB, free: 4.852 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.005041, allocations: 4.062 kB / 0.8943 GB, free: 4.848 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.005044, allocations: 0 / 0.8943 GB, free: 4.848 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/0.005268, allocations: 329.8 kB / 0.8946 GB, free: 4.492 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.005269, allocations: 0 / 0.8946 GB, free: 4.492 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.285e-05/0.005282, allocations: 4 kB / 0.8946 GB, free: 4.488 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.005284, allocations: 0 / 0.8946 GB, free: 4.488 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.098e-06/0.005288, allocations: 8 kB / 0.8946 GB, free: 4.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.005289, allocations: 0 / 0.8946 GB, free: 4.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.00529, allocations: 0 / 0.8946 GB, free: 4.48 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.893e-05/0.005389, allocations: 232.2 kB / 0.8949 GB, free: 4.234 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.001e-06/0.005395, allocations: 0 / 0.8949 GB, free: 4.234 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.067e-06/0.005404, allocations: 8 kB / 0.8949 GB, free: 4.227 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.297e-05/0.005437, allocations: 3.984 kB / 0.8949 GB, free: 4.223 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.856e-05/0.005465, allocations: 7.984 kB / 0.8949 GB, free: 4.215 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.005472, allocations: 4 kB / 0.8949 GB, free: 4.211 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.497e-05/0.005507, allocations: 119.2 kB / 0.895 GB, free: 4.094 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.005507, allocations: 0 / 0.895 GB, free: 4.094 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001439/0.005651, allocations: 20 kB / 0.895 GB, free: 4.074 MB / 0.8542 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.726e-05/0.005718, allocations: 99.23 kB / 0.8951 GB, free: 3.969 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.36e-05/0.005802, allocations: 55.58 kB / 0.8952 GB, free: 3.91 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.005803, allocations: 0 / 0.8952 GB, free: 3.91 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.012e-05/0.005833, allocations: 27.66 kB / 0.8952 GB, free: 3.879 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001713/0.006004, allocations: 16.34 kB / 0.8952 GB, free: 3.863 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001953/0.006199, allocations: 142.2 kB / 0.8953 GB, free: 3.695 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.212e-05/0.006231, allocations: 66.91 kB / 0.8954 GB, free: 3.613 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.083e-05/0.006252, allocations: 7.984 kB / 0.8954 GB, free: 3.605 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.793e-05/0.0063, allocations: 78.14 kB / 0.8955 GB, free: 3.527 MB / 0.8542 GB Notification: Performance of SimCode: time 3.81e-07/0.006301, allocations: 0 / 0.8955 GB, free: 3.527 MB / 0.8542 GB Notification: Performance of Templates: time 0.002249/0.008549, allocations: 0.9059 MB / 0.8964 GB, free: 2.637 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.167933911085129]