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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_latest_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.004951/0.004951, allocations: 104.4 kB / 15.74 MB, free: 5.949 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.001184/0.001184, allocations: 192.3 kB / 16.67 MB, free: 5.871 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.48/2.48, allocations: 461.9 MB / 0.7348 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 60.14 kB / 1.054 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8658/0.8672, allocations: 157.4 MB / 1.207 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003076/0.8703, allocations: 1.482 MB / 1.209 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008688/0.8712, allocations: 438.9 kB / 1.209 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.682e-05/0.8713, allocations: 4 kB / 1.209 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.389e-05/0.8713, allocations: 7.922 kB / 1.209 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.622e-05/0.8714, allocations: 7.922 kB / 1.209 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002015/0.8716, allocations: 23.92 kB / 1.209 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.8718, allocations: 47.91 kB / 1.209 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.8719, allocations: 15.92 kB / 1.209 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.267e-05/0.872, allocations: 19.98 kB / 1.209 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.987e-05/0.8721, allocations: 31.84 kB / 1.209 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.8721, allocations: 7.938 kB / 1.209 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.253e-05/0.8721, allocations: 4 kB / 1.209 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.43e-05/0.8721, allocations: 7.984 kB / 1.209 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.275e-05/0.8722, allocations: 23.88 kB / 1.209 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.8723, allocations: 46.11 kB / 1.209 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.8723, allocations: 0 / 1.209 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8723, allocations: 0 / 1.209 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.8724, allocations: 0 / 1.209 GB, free: 11.5 MB / 0.9356 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.0005472/0.8729, allocations: 367.4 kB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.873, allocations: 8.031 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.752e-05/0.873, allocations: 34.75 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.57e-05/0.873, allocations: 8.844 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.8732, allocations: 168.4 kB / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.8732, allocations: 8.312 kB / 1.21 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.8732, allocations: 8.312 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.8733, allocations: 57.81 kB / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.8733, allocations: 0 / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.8734, allocations: 4 kB / 1.21 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.8734, allocations: 3.984 kB / 1.21 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.267e-05/0.8734, allocations: 31.98 kB / 1.21 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000477/0.8739, allocations: 304.5 kB / 1.21 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.874, allocations: 54.56 kB / 1.21 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.361e-05/0.8741, allocations: 32.94 kB / 1.21 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.8741, allocations: 0 / 1.21 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002002/0.8743, allocations: 71.42 kB / 1.21 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.8743, allocations: 0 / 1.21 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0002419/0.8746, allocations: 105.5 kB / 1.211 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.8746, allocations: 55.41 kB / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.853e-05/0.8747, allocations: 101.8 kB / 1.211 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.8747, allocations: 37.7 kB / 1.211 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.677e-05/0.8748, allocations: 84.14 kB / 1.211 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.8748, allocations: 23.69 kB / 1.211 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.827e-05/0.8749, allocations: 25.72 kB / 1.211 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.875, allocations: 322.8 kB / 1.211 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.511e-05/0.875, allocations: 16 kB / 1.211 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.198e-05/0.8751, allocations: 47.36 kB / 1.211 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.598e-05/0.8752, allocations: 67.8 kB / 1.211 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.8752, allocations: 0 / 1.211 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001452/0.8754, allocations: 97.45 kB / 1.211 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.8754, allocations: 8 kB / 1.211 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.8754, allocations: 3.938 kB / 1.211 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.8754, allocations: 0 / 1.211 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.483e-05/0.8755, allocations: 12 kB / 1.211 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.8755, allocations: 32 / 1.211 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.103e-05/0.8756, allocations: 19.92 kB / 1.211 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.8756, allocations: 7.938 kB / 1.211 GB, free: 9.094 MB / 0.9356 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 9.51e-05/0.8757, allocations: 117.8 kB / 1.212 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.58e-05/0.8757, allocations: 4 kB / 1.212 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.417e-05/0.8758, allocations: 7.969 kB / 1.212 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.8758, allocations: 3.938 kB / 1.212 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.8758, allocations: 0 / 1.212 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.8758, allocations: 3.984 kB / 1.212 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003857/0.8762, allocations: 362.4 kB / 1.212 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.8762, allocations: 4.062 kB / 1.212 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.95e-05/0.8762, allocations: 8 kB / 1.212 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.8762, allocations: 0 / 1.212 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.8762, allocations: 0 / 1.212 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.8763, allocations: 3.938 kB / 1.212 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.8763, allocations: 0 / 1.212 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.8764, allocations: 187.4 kB / 1.212 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.817e-05/0.8765, allocations: 81.39 kB / 1.212 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.8765, allocations: 0 / 1.212 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.404e-05/0.8766, allocations: 11.92 kB / 1.212 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.562e-05/0.8766, allocations: 19.91 kB / 1.212 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.8766, allocations: 4 kB / 1.212 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.839e-05/0.8767, allocations: 79.28 kB / 1.212 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8767, allocations: 0 / 1.212 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002284/0.8769, allocations: 12 kB / 1.212 GB, free: 8.094 MB / 0.9356 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.000402/0.8773, allocations: 0.7203 MB / 1.213 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001313/0.8775, allocations: 55.91 kB / 1.213 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.8775, allocations: 0 / 1.213 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.251e-05/0.8775, allocations: 23.94 kB / 1.213 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.8778, allocations: 23.98 kB / 1.213 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.879, allocations: 1.361 MB / 1.214 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.8792, allocations: 0.6846 MB / 1.215 GB, free: 5.078 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.987e-05/0.8793, allocations: 11.98 kB / 1.215 GB, free: 5.066 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.763e-05/0.8793, allocations: 15.44 kB / 1.215 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of SimCode: time 4.11e-07/0.8793, allocations: 0 / 1.215 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01774/0.8971, allocations: 1.807 MB / 1.217 GB, free: 3.363 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.438/8.335, allocations: 1.875 kB / 1.217 GB, free: 3.363 MB / 0.9356 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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