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.008728/0.008728, allocations: 103.5 kB / 15.73 MB, free: 5.996 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.001887/0.001887, allocations: 187.5 kB / 16.67 MB, free: 5.934 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.492/2.492, allocations: 461.9 MB / 0.7348 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 67.89 kB / 1.054 GB, free: 7.699 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3137, allocations: 157.4 MB / 1.207 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003025/0.3168, allocations: 1.479 MB / 1.209 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008564/0.3177, allocations: 443.3 kB / 1.209 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.19e-05/0.3177, allocations: 0 / 1.209 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.425e-05/0.3178, allocations: 3.938 kB / 1.209 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.058e-05/0.3179, allocations: 11.92 kB / 1.209 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.3181, allocations: 27.84 kB / 1.209 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.75e-05/0.3182, allocations: 47.91 kB / 1.209 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.3183, allocations: 12 kB / 1.209 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.641e-05/0.3184, allocations: 23.86 kB / 1.209 GB, free: 8.145 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.991e-05/0.3185, allocations: 23.91 kB / 1.209 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.3185, allocations: 7.938 kB / 1.209 GB, free: 8.113 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.309e-05/0.3185, allocations: 8 kB / 1.209 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.494e-05/0.3186, allocations: 7.984 kB / 1.209 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.51e-05/0.3186, allocations: 27.86 kB / 1.209 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.3187, allocations: 40.17 kB / 1.209 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3187, allocations: 0 / 1.209 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3188, allocations: 0 / 1.209 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.3188, allocations: 0 / 1.209 GB, free: 8.031 MB / 0.9669 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.0005739/0.3193, allocations: 359.4 kB / 1.21 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.3194, allocations: 12.62 kB / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001059/0.3195, allocations: 38.73 kB / 1.21 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.409e-05/0.3196, allocations: 8.844 kB / 1.21 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.3197, allocations: 168.3 kB / 1.21 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.3197, allocations: 4.375 kB / 1.21 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.3198, allocations: 8.375 kB / 1.21 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.3199, allocations: 61.8 kB / 1.21 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.3199, allocations: 4 kB / 1.21 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.3199, allocations: 3.984 kB / 1.21 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3199, allocations: 0 / 1.21 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.588e-05/0.32, allocations: 31.92 kB / 1.21 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00051/0.3205, allocations: 300.7 kB / 1.21 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.3206, allocations: 62.59 kB / 1.21 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.063e-05/0.3207, allocations: 24.89 kB / 1.21 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.3207, allocations: 4 kB / 1.21 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000191/0.3209, allocations: 71.38 kB / 1.21 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.664e-06/0.3209, allocations: 0 / 1.21 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0002394/0.3212, allocations: 109.5 kB / 1.211 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.3212, allocations: 51.41 kB / 1.211 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.268e-05/0.3213, allocations: 109.8 kB / 1.211 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.3213, allocations: 29.7 kB / 1.211 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.941e-05/0.3214, allocations: 91.98 kB / 1.211 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.3214, allocations: 19.75 kB / 1.211 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.833e-05/0.3215, allocations: 29.7 kB / 1.211 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.3216, allocations: 322.8 kB / 1.211 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.62e-05/0.3216, allocations: 16 kB / 1.211 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.184e-05/0.3217, allocations: 47.42 kB / 1.211 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.081e-05/0.3218, allocations: 67.36 kB / 1.211 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3218, allocations: 0 / 1.211 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001486/0.3219, allocations: 89.53 kB / 1.211 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.322, allocations: 4 kB / 1.211 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.322, allocations: 4 kB / 1.211 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.322, allocations: 8.016 kB / 1.211 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.909e-05/0.3221, allocations: 11.94 kB / 1.211 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.3221, allocations: 4 kB / 1.211 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.83e-05/0.3222, allocations: 11.98 kB / 1.211 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.3222, allocations: 7.938 kB / 1.211 GB, free: 5.621 MB / 0.9669 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 8.837e-05/0.3223, allocations: 114.1 kB / 1.212 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/0.3223, allocations: 3.906 kB / 1.212 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.596e-05/0.3223, allocations: 15.95 kB / 1.212 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.3223, allocations: 0 / 1.212 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.3224, allocations: 4 kB / 1.212 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3224, allocations: 3.938 kB / 1.212 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003894/0.3228, allocations: 354.4 kB / 1.212 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.3228, allocations: 4.453 kB / 1.212 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.711e-05/0.3228, allocations: 7.938 kB / 1.212 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.3228, allocations: 4 kB / 1.212 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.3228, allocations: 4.062 kB / 1.212 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.3228, allocations: 3.938 kB / 1.212 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3228, allocations: 3.938 kB / 1.212 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/0.323, allocations: 191.3 kB / 1.212 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.524e-05/0.3231, allocations: 81.11 kB / 1.212 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.3231, allocations: 4 kB / 1.212 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.707e-05/0.3232, allocations: 11.92 kB / 1.212 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/0.3232, allocations: 4 kB / 1.212 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.014e-06/0.3232, allocations: 3.984 kB / 1.212 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.149e-05/0.3233, allocations: 87.28 kB / 1.212 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3233, allocations: 0 / 1.212 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002335/0.3235, allocations: 16 kB / 1.212 GB, free: 4.613 MB / 0.9669 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.0005144/0.3241, allocations: 0.718 MB / 1.213 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001432/0.3242, allocations: 55.91 kB / 1.213 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3242, allocations: 4.062 kB / 1.213 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.193e-05/0.3243, allocations: 23.94 kB / 1.213 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.3246, allocations: 16.3 kB / 1.213 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.3258, allocations: 1.371 MB / 1.214 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.3261, allocations: 0.6846 MB / 1.215 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.856e-05/0.3261, allocations: 4 kB / 1.215 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.88e-05/0.3262, allocations: 19.53 kB / 1.215 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of SimCode: time 5.91e-07/0.3262, allocations: 0 / 1.215 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01976/0.346, allocations: 1.801 MB / 1.217 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.194/7.54, allocations: 12.25 kB / 1.217 GB, free: 15.88 MB / 0.9825 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