Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_9_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 196 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.221/1.221, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.113/2.113, allocations: 390.2 MB / 0.6643 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 63.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5696/0.5709, allocations: 140.4 MB / 0.949 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002665/0.5736, allocations: 1.542 MB / 0.9505 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000666/0.5743, allocations: 437.3 kB / 0.951 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.957e-05/0.5744, allocations: 1.281 kB / 0.951 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.9e-05/0.5745, allocations: 3.984 kB / 0.951 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.423e-05/0.5746, allocations: 5.062 kB / 0.951 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001511/0.5747, allocations: 24.75 kB / 0.951 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.38e-05/0.5748, allocations: 47.67 kB / 0.951 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.515e-05/0.5749, allocations: 17.27 kB / 0.9511 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.545e-05/0.5749, allocations: 19.17 kB / 0.9511 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.799e-05/0.575, allocations: 17.2 kB / 0.9511 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.575, allocations: 3.906 kB / 0.9511 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.519e-05/0.5751, allocations: 3.062 kB / 0.9511 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.178e-05/0.5751, allocations: 17.12 kB / 0.9511 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.454e-05/0.5751, allocations: 15.75 kB / 0.9511 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.229e-05/0.5752, allocations: 43.88 kB / 0.9512 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.5752, allocations: 4 kB / 0.9512 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.71e-07/0.5752, allocations: 3.938 kB / 0.9512 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.5752, allocations: 0 / 0.9512 GB, free: 7.516 MB / 0.7169 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.0004316/0.5757, allocations: 366 kB / 0.9515 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.5757, allocations: 9.906 kB / 0.9515 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.273e-05/0.5758, allocations: 36 kB / 0.9516 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.975e-05/0.5758, allocations: 3.875 kB / 0.9516 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.023e-05/0.5759, allocations: 166.4 kB / 0.9517 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.5759, allocations: 11.03 kB / 0.9517 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.5759, allocations: 4.562 kB / 0.9517 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.576, allocations: 59.25 kB / 0.9518 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.5761, allocations: 3.984 kB / 0.9518 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.5761, allocations: 9.078 kB / 0.9518 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.5761, allocations: 1.25 kB / 0.9518 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.818e-05/0.5761, allocations: 26.48 kB / 0.9518 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004169/0.5766, allocations: 309.3 kB / 0.9521 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.849e-05/0.5767, allocations: 53.47 kB / 0.9522 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.99e-05/0.5767, allocations: 27.66 kB / 0.9522 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.5767, allocations: 1.5 kB / 0.9522 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001592/0.5769, allocations: 79.73 kB / 0.9523 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.693e-06/0.5769, allocations: 0 / 0.9523 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0002139/0.5771, allocations: 101.4 kB / 0.9524 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.5772, allocations: 53.53 kB / 0.9524 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.064e-05/0.5772, allocations: 104.6 kB / 0.9525 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.5773, allocations: 31.89 kB / 0.9526 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.715e-05/0.5773, allocations: 85.11 kB / 0.9526 GB, free: 6 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.5773, allocations: 19.98 kB / 0.9527 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/0.5774, allocations: 30.53 kB / 0.9527 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.864e-05/0.5774, allocations: 327.9 kB / 0.953 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.601e-05/0.5774, allocations: 13.16 kB / 0.953 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.479e-05/0.5775, allocations: 45.3 kB / 0.9531 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.806e-05/0.5776, allocations: 65.98 kB / 0.9531 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5776, allocations: 1.125 kB / 0.9531 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001309/0.5777, allocations: 98.02 kB / 0.9532 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.5777, allocations: 6.219 kB / 0.9532 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.5778, allocations: 0 / 0.9532 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.5778, allocations: 1.656 kB / 0.9532 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.853e-05/0.5778, allocations: 12.59 kB / 0.9532 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.5779, allocations: 1.062 kB / 0.9532 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.695e-05/0.5779, allocations: 16.83 kB / 0.9533 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.5779, allocations: 8.156 kB / 0.9533 GB, free: 5.441 MB / 0.7169 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.265e-05/0.578, allocations: 118.1 kB / 0.9534 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.578, allocations: 10.64 kB / 0.9534 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.8e-05/0.5781, allocations: 17.28 kB / 0.9534 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.5781, allocations: 5.641 kB / 0.9534 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5781, allocations: 0 / 0.9534 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.5781, allocations: 0 / 0.9534 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003092/0.5784, allocations: 355.9 kB / 0.9538 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.5784, allocations: 0 / 0.9538 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.841e-05/0.5784, allocations: 8.281 kB / 0.9538 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.5785, allocations: 0 / 0.9538 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.5785, allocations: 5.25 kB / 0.9538 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.5785, allocations: 5.375 kB / 0.9538 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5785, allocations: 4.062 kB / 0.9538 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.5786, allocations: 183.1 kB / 0.9539 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.94e-05/0.5786, allocations: 78.7 kB / 0.954 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.5787, allocations: 5.203 kB / 0.954 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.161e-05/0.5787, allocations: 14.78 kB / 0.954 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.5788, allocations: 9.203 kB / 0.9541 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.5788, allocations: 5.344 kB / 0.9541 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.356e-05/0.5788, allocations: 79.84 kB / 0.9541 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5788, allocations: 0 / 0.9541 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002299/0.5791, allocations: 22.67 kB / 0.9542 GB, free: 4.559 MB / 0.7169 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.0002968/0.5794, allocations: 0.7175 MB / 0.9549 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001253/0.5795, allocations: 56.55 kB / 0.9549 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5795, allocations: 0 / 0.9549 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.164e-05/0.5796, allocations: 25.67 kB / 0.9549 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.5798, allocations: 13.03 kB / 0.9549 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009533/0.5808, allocations: 1.375 MB / 0.9563 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.5809, allocations: 0.6853 MB / 0.957 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.128e-05/0.581, allocations: 6.844 kB / 0.957 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.151e-05/0.581, allocations: 19.17 kB / 0.957 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of SimCode: time 3.71e-07/0.581, allocations: 1.125 kB / 0.957 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01108/0.5921, allocations: 1.533 MB / 0.9585 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001347/0.5923, allocations: 225.1 kB / 0.9587 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.581/2.173, allocations: 0 / 0.9587 GB, free: 0.75 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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