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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001518/0.001518, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001768/0.001768, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.779/1.779, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.698/2.698, allocations: 390.2 MB / 0.6644 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002289/0.002289, allocations: 67.89 kB / 0.8122 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8618/0.8641, allocations: 140.4 MB / 0.9492 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003292/0.8675, allocations: 1.53 MB / 0.9507 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008205/0.8683, allocations: 450 kB / 0.9512 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.419e-05/0.8684, allocations: 5.375 kB / 0.9512 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.922e-05/0.8684, allocations: 0 / 0.9512 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.805e-05/0.8685, allocations: 5.312 kB / 0.9512 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000169/0.8687, allocations: 20.11 kB / 0.9512 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.628e-05/0.8688, allocations: 52.47 kB / 0.9512 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.869, allocations: 13.48 kB / 0.9512 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.119e-05/0.869, allocations: 20.55 kB / 0.9513 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.784e-05/0.8691, allocations: 21.2 kB / 0.9513 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.8692, allocations: 4.094 kB / 0.9513 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.748e-05/0.8692, allocations: 8.219 kB / 0.9513 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.879e-05/0.8692, allocations: 13.27 kB / 0.9513 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.619e-05/0.8693, allocations: 24.02 kB / 0.9513 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.8694, allocations: 40.19 kB / 0.9514 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.8694, allocations: 0 / 0.9514 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8694, allocations: 1.375 kB / 0.9514 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.8694, allocations: 0 / 0.9514 GB, free: 7.426 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.0005573/0.87, allocations: 372.9 kB / 0.9517 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.8701, allocations: 13.34 kB / 0.9517 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.983e-05/0.8701, allocations: 37.06 kB / 0.9518 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.557e-05/0.8702, allocations: 3.594 kB / 0.9518 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.8703, allocations: 171 kB / 0.9519 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.8703, allocations: 5.781 kB / 0.9519 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.8704, allocations: 5.156 kB / 0.952 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.8705, allocations: 59.36 kB / 0.952 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.8705, allocations: 0 / 0.952 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.8706, allocations: 5.422 kB / 0.952 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.8706, allocations: 1.281 kB / 0.952 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.28e-05/0.8707, allocations: 32.92 kB / 0.952 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005382/0.8712, allocations: 298 kB / 0.9523 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.8714, allocations: 57.41 kB / 0.9524 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.061e-05/0.8714, allocations: 29.5 kB / 0.9524 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.8715, allocations: 4 kB / 0.9524 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002137/0.8717, allocations: 68.58 kB / 0.9525 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 2.034e-06/0.8717, allocations: 0 / 0.9525 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0002947/0.872, allocations: 100.7 kB / 0.9526 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.8721, allocations: 54.06 kB / 0.9526 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.603e-05/0.8721, allocations: 103.8 kB / 0.9527 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.8722, allocations: 35.45 kB / 0.9528 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.359e-05/0.8722, allocations: 98.8 kB / 0.9529 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.8723, allocations: 14.5 kB / 0.9529 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.055e-05/0.8723, allocations: 30.48 kB / 0.9529 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.471e-05/0.8724, allocations: 320.2 kB / 0.9532 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.496e-05/0.8724, allocations: 22.23 kB / 0.9532 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.874e-05/0.8725, allocations: 44.02 kB / 0.9533 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.8727, allocations: 71.38 kB / 0.9533 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.8727, allocations: 0 / 0.9533 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002017/0.8729, allocations: 98.58 kB / 0.9534 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.8729, allocations: 5.469 kB / 0.9534 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.8729, allocations: 1.281 kB / 0.9534 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.8729, allocations: 1.844 kB / 0.9534 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.802e-05/0.8731, allocations: 11.72 kB / 0.9534 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.8731, allocations: 5.391 kB / 0.9535 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.988e-05/0.8732, allocations: 16.88 kB / 0.9535 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.8732, allocations: 7.562 kB / 0.9535 GB, free: 5.336 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 7.396e-05/0.8733, allocations: 114.2 kB / 0.9536 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.941e-05/0.8733, allocations: 6.25 kB / 0.9536 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.706e-05/0.8734, allocations: 17.12 kB / 0.9536 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.8734, allocations: 1.25 kB / 0.9536 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.8734, allocations: 1.094 kB / 0.9536 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.8734, allocations: 0 / 0.9536 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004495/0.8739, allocations: 360.2 kB / 0.954 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.8739, allocations: 3.938 kB / 0.954 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.707e-05/0.8739, allocations: 2.844 kB / 0.954 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.654e-06/0.8739, allocations: 1.5 kB / 0.954 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.874, allocations: 5.031 kB / 0.954 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.874, allocations: 7.922 kB / 0.954 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.874, allocations: 1.125 kB / 0.954 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002085/0.8742, allocations: 179.5 kB / 0.9541 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.529e-05/0.8742, allocations: 82.27 kB / 0.9542 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.8743, allocations: 5.109 kB / 0.9542 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.8744, allocations: 7.906 kB / 0.9542 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.517e-05/0.8745, allocations: 7.984 kB / 0.9542 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.8745, allocations: 10.84 kB / 0.9543 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.083e-05/0.8745, allocations: 78.19 kB / 0.9543 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3e-07/0.8746, allocations: 0 / 0.9543 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004504/0.875, allocations: 27.42 kB / 0.9544 GB, free: 4.461 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.0004091/0.8754, allocations: 0.7099 MB / 0.955 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002084/0.8757, allocations: 58.17 kB / 0.9551 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.8757, allocations: 0 / 0.9551 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.131e-05/0.8758, allocations: 24.36 kB / 0.9551 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000456/0.8762, allocations: 21.03 kB / 0.9551 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.8776, allocations: 1.373 MB / 0.9565 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.8777, allocations: 0.6891 MB / 0.9572 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.266e-05/0.8778, allocations: 7.516 kB / 0.9572 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.787e-05/0.8779, allocations: 19.28 kB / 0.9572 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of SimCode: time 8.32e-07/0.8779, allocations: 0 / 0.9572 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01677/0.8947, allocations: 1.604 MB / 0.9588 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002032/0.8949, allocations: 217 kB / 0.959 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.294/3.189, allocations: 0 / 0.959 GB, free: 0.6289 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