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.001282/0.001282, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.00149/0.00149, allocations: 169 kB / 23.02 MB, free: 1.551 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.9021/0.9021, allocations: 177.2 MB / 203.4 MB, free: 5.641 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 1.937/1.937, allocations: 429.5 MB / 0.6732 GB, free: 4.043 MB / 0.6355 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.052e-06/1.052e-06, allocations: 0 / 0.8781 GB, free: 6.352 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.231e-05/1.337e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.348 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001666/0.00168, allocations: 1.552 MB / 0.8797 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0006251/0.002305, allocations: 474.5 kB / 0.8801 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.32e-05/0.002338, allocations: 0 / 0.8801 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.747e-05/0.002365, allocations: 7.922 kB / 0.8801 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.415e-05/0.00244, allocations: 5 kB / 0.8801 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001273/0.002567, allocations: 19.92 kB / 0.8801 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.479e-05/0.002642, allocations: 60.55 kB / 0.8802 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.129e-05/0.002723, allocations: 11.92 kB / 0.8802 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.777e-05/0.002781, allocations: 28.42 kB / 0.8802 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.43e-05/0.002835, allocations: 21.42 kB / 0.8803 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.002857, allocations: 4 kB / 0.8803 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.063e-05/0.002867, allocations: 4 kB / 0.8803 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.808e-05/0.002885, allocations: 4 kB / 0.8803 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/0.00292, allocations: 24.48 kB / 0.8803 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.669e-05/0.003007, allocations: 35.83 kB / 0.8803 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.003009, allocations: 0.7812 kB / 0.8803 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.21e-07/0.003009, allocations: 0 / 0.8803 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.576e-06/0.003013, allocations: 1.094 kB / 0.8803 GB, free: 4.125 MB / 0.8386 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.0003982/0.003411, allocations: 388.5 kB / 0.8807 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.003446, allocations: 8.688 kB / 0.8807 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.003483, allocations: 8.891 kB / 0.8807 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.42e-05/0.003567, allocations: 109.8 kB / 0.8808 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.00358, allocations: 8.375 kB / 0.8808 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.00359, allocations: 8.359 kB / 0.8808 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.201e-05/0.003672, allocations: 51.19 kB / 0.8809 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.003679, allocations: 192 / 0.8809 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.003687, allocations: 384 / 0.8809 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.003694, allocations: 4.969 kB / 0.8809 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.631e-05/0.00373, allocations: 19.98 kB / 0.8809 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002925/0.004023, allocations: 292.7 kB / 0.8812 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.215e-05/0.004095, allocations: 55.05 kB / 0.8812 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.829e-05/0.004123, allocations: 25.05 kB / 0.8813 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.731e-06/0.004129, allocations: 0 / 0.8813 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.63e-05/0.004215, allocations: 77.14 kB / 0.8813 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.243e-06/0.004216, allocations: 3.406 kB / 0.8813 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0001595/0.004376, allocations: 97.5 kB / 0.8814 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.004411, allocations: 59.41 kB / 0.8815 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.047e-05/0.004471, allocations: 161.9 kB / 0.8816 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.004482, allocations: 25.7 kB / 0.8817 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.867e-05/0.00452, allocations: 142.8 kB / 0.8818 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.004539, allocations: 19.86 kB / 0.8818 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.004569, allocations: 31.36 kB / 0.8819 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.089e-05/0.00466, allocations: 0.4884 MB / 0.8823 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.085e-05/0.004681, allocations: 17.05 kB / 0.8824 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.37e-05/0.004715, allocations: 50.73 kB / 0.8824 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.99e-05/0.004775, allocations: 72.42 kB / 0.8825 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.004776, allocations: 0 / 0.8825 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.794e-05/0.004864, allocations: 93.48 kB / 0.8826 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.004875, allocations: 8 kB / 0.8826 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.00488, allocations: 1.125 kB / 0.8826 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.004893, allocations: 4 kB / 0.8826 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.821e-05/0.004951, allocations: 11.98 kB / 0.8826 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.004957, allocations: 8.031 kB / 0.8826 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.387e-05/0.004991, allocations: 7.953 kB / 0.8826 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.004998, allocations: 8 kB / 0.8826 GB, free: 1.57 MB / 0.8386 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 7.117e-05/0.005069, allocations: 168.5 kB / 0.8828 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.989e-06/0.005079, allocations: 7.938 kB / 0.8828 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.159e-05/0.005101, allocations: 12.11 kB / 0.8828 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.005102, allocations: 0 / 0.8828 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.005106, allocations: 0 / 0.8828 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.005109, allocations: 4 kB / 0.8828 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002208/0.00533, allocations: 349.3 kB / 0.8831 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.005331, allocations: 0 / 0.8831 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.234e-05/0.005343, allocations: 4 kB / 0.8831 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.005346, allocations: 0 / 0.8831 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.005352, allocations: 4 kB / 0.8831 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.005353, allocations: 0 / 0.8831 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.005355, allocations: 3.984 kB / 0.8831 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.005459, allocations: 227.8 kB / 0.8834 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.893e-06/0.005466, allocations: 3.953 kB / 0.8834 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.005478, allocations: 12.05 kB / 0.8834 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.199e-05/0.00551, allocations: 4 kB / 0.8834 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.927e-05/0.00554, allocations: 11.98 kB / 0.8834 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.005545, allocations: 4 kB / 0.8834 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.042e-05/0.005576, allocations: 127.2 kB / 0.8835 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1e-07/0.005576, allocations: 7.938 kB / 0.8835 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001463/0.005722, allocations: 8 kB / 0.8835 GB, free: 0.5586 MB / 0.8386 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 5.906e-05/0.005781, allocations: 103.2 kB / 0.8836 GB, free: 456 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.906e-05/0.00587, allocations: 51.59 kB / 0.8837 GB, free: 400 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.011e-06/0.005871, allocations: 0 / 0.8837 GB, free: 400 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.485e-05/0.005906, allocations: 31.69 kB / 0.8837 GB, free: 364 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.006072, allocations: 16.34 kB / 0.8837 GB, free: 348 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002098/0.006282, allocations: 150.2 kB / 0.8839 GB, free: 168 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.061e-05/0.006313, allocations: 59.36 kB / 0.8839 GB, free: 88 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.932e-05/0.006332, allocations: 7.984 kB / 0.8839 GB, free: 80 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.513e-05/0.006357, allocations: 12.5 kB / 0.8839 GB, free: 68 kB / 0.8386 GB Notification: Performance of SimCode: time 4.51e-07/0.006357, allocations: 0 / 0.8839 GB, free: 68 kB / 0.8386 GB Notification: Performance of Templates: time 0.002075/0.008432, allocations: 0.8748 MB / 0.8848 GB, free: 15.21 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.024832951370627]