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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 109.7 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 225.6 MB / 249.3 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.491/2.491, allocations: 476.7 MB / 0.7628 GB, free: 15.22 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 71.89 kB / 1.107 GB, free: 5.172 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7935/0.7953, allocations: 168.7 MB / 1.271 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.00215/0.7974, allocations: 1.512 MB / 1.273 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006016/0.798, allocations: 445.4 kB / 1.273 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.118e-05/0.798, allocations: 1.438 kB / 1.273 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.018e-05/0.7981, allocations: 5.344 kB / 1.273 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.166e-05/0.7982, allocations: 14.55 kB / 1.273 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001384/0.7983, allocations: 17.41 kB / 1.273 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.804e-05/0.7984, allocations: 51.31 kB / 1.273 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.7985, allocations: 14.91 kB / 1.273 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.111e-05/0.7985, allocations: 26.53 kB / 1.273 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.438e-05/0.7986, allocations: 18.45 kB / 1.273 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.7986, allocations: 4.562 kB / 1.273 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.302e-05/0.7986, allocations: 4.531 kB / 1.273 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.294e-05/0.7986, allocations: 21.06 kB / 1.273 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.183e-05/0.7987, allocations: 16.36 kB / 1.273 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.7988, allocations: 58.98 kB / 1.273 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.7988, allocations: 0 / 1.273 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7988, allocations: 0 / 1.273 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.7988, allocations: 0.8438 kB / 1.273 GB, free: 6.258 MB / 0.9981 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.000423/0.7992, allocations: 361.3 kB / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.7993, allocations: 9.781 kB / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.022e-05/0.7993, allocations: 33.03 kB / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.552e-05/0.7993, allocations: 4 kB / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.674e-05/0.7994, allocations: 176.9 kB / 1.274 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.7994, allocations: 3.469 kB / 1.274 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.7994, allocations: 5 kB / 1.274 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.7995, allocations: 61.16 kB / 1.274 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.7995, allocations: 4 kB / 1.274 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.7996, allocations: 5.531 kB / 1.274 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.7996, allocations: 1.844 kB / 1.274 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.728e-05/0.7996, allocations: 23.33 kB / 1.274 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000366/0.8, allocations: 303.8 kB / 1.274 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.86e-05/0.8001, allocations: 49.05 kB / 1.274 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.683e-05/0.8001, allocations: 25.78 kB / 1.275 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.602e-06/0.8001, allocations: 0.875 kB / 1.275 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001231/0.8002, allocations: 78.92 kB / 1.275 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.8002, allocations: 0 / 1.275 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0001895/0.8004, allocations: 99.55 kB / 1.275 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.282e-05/0.8004, allocations: 52.75 kB / 1.275 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.906e-05/0.8005, allocations: 113.8 kB / 1.275 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.8005, allocations: 31.64 kB / 1.275 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.293e-05/0.8005, allocations: 87.58 kB / 1.275 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.8005, allocations: 19.89 kB / 1.275 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.581e-05/0.8006, allocations: 34.41 kB / 1.275 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.45e-05/0.8006, allocations: 320.9 kB / 1.275 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.382e-05/0.8007, allocations: 17.05 kB / 1.275 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.142e-05/0.8007, allocations: 52.59 kB / 1.275 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.922e-05/0.8008, allocations: 69.27 kB / 1.275 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.8008, allocations: 0 / 1.275 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001162/0.8009, allocations: 98.11 kB / 1.276 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.8009, allocations: 5.125 kB / 1.276 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.8009, allocations: 1.062 kB / 1.276 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.8009, allocations: 1.906 kB / 1.276 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-05/0.801, allocations: 12.75 kB / 1.276 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.801, allocations: 1.562 kB / 1.276 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.1e-05/0.801, allocations: 14.84 kB / 1.276 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.8011, allocations: 10.19 kB / 1.276 GB, free: 4.289 MB / 0.9981 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 4.829e-05/0.8011, allocations: 118.7 kB / 1.276 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.106e-05/0.8011, allocations: 5.891 kB / 1.276 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.32e-05/0.8011, allocations: 8.844 kB / 1.276 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.8011, allocations: 1.531 kB / 1.276 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.8011, allocations: 4.688 kB / 1.276 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.8011, allocations: 2.578 kB / 1.276 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002783/0.8014, allocations: 355.1 kB / 1.276 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.8014, allocations: 0 / 1.276 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.55e-05/0.8014, allocations: 7.016 kB / 1.276 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.8014, allocations: 0 / 1.276 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.8015, allocations: 5 kB / 1.276 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.8015, allocations: 4.812 kB / 1.276 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.8015, allocations: 0 / 1.276 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.8016, allocations: 192 kB / 1.276 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.537e-05/0.8016, allocations: 82.45 kB / 1.276 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.8016, allocations: 5.188 kB / 1.276 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.99e-05/0.8017, allocations: 9.984 kB / 1.276 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.8017, allocations: 11.2 kB / 1.276 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-06/0.8017, allocations: 2.375 kB / 1.276 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.327e-05/0.8017, allocations: 80.16 kB / 1.276 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.1e-08/0.8017, allocations: 4 kB / 1.276 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002155/0.802, allocations: 23.73 kB / 1.276 GB, free: 3.449 MB / 0.9981 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.0002574/0.8022, allocations: 0.7124 MB / 1.277 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001229/0.8023, allocations: 53.47 kB / 1.277 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.8023, allocations: 0.875 kB / 1.277 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.589e-05/0.8024, allocations: 29.83 kB / 1.277 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.8026, allocations: 16.28 kB / 1.277 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009523/0.8036, allocations: 1.363 MB / 1.279 GB, free: 17.45 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.8039, allocations: 0.6887 MB / 1.279 GB, free: 16.75 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.563e-05/0.8039, allocations: 13.78 kB / 1.279 GB, free: 16.75 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.856e-05/0.8039, allocations: 17.02 kB / 1.279 GB, free: 16.74 MB / 1.014 GB Notification: Performance of SimCode: time 3.1e-07/0.8039, allocations: 3.938 kB / 1.279 GB, free: 16.73 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02142/0.8254, allocations: 1.757 MB / 1.281 GB, free: 16.34 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.999/7.825, allocations: 4.984 kB / 1.281 GB, free: 16.34 MB / 1.014 GB " [Timeout remaining time 292] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,offTim1.u,offTim1.y,offTim2.u,offTim2.y Variables in the result:booleanPulse.period,booleanPulse.startTime,booleanPulse.width,booleanPulse.y,not1.u,not1.y,offTim1.u,offTim1.y,offTim2.u,offTim2.y,time [Calling sys.exit(0), Time elapsed: 13.108767890000308]