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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.006186/0.006186, allocations: 97.11 kB / 15.73 MB, free: 5.988 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.001546/0.001546, allocations: 185 kB / 16.67 MB, free: 5.918 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.428/1.428, 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 12.0.0-master/package.mo): time 2.83/2.83, allocations: 472.7 MB / 0.7453 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 67.89 kB / 1.069 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3545, allocations: 159.9 MB / 1.225 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.00323/0.3578, allocations: 1.484 MB / 1.227 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008493/0.3587, allocations: 443 kB / 1.227 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.702e-05/0.3587, allocations: 0 / 1.227 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.7e-05/0.3588, allocations: 3.938 kB / 1.227 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.492e-05/0.3589, allocations: 7.922 kB / 1.227 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000189/0.3591, allocations: 19.92 kB / 1.227 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.3592, allocations: 55.78 kB / 1.227 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.3594, allocations: 15.98 kB / 1.227 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.534e-05/0.3594, allocations: 19.97 kB / 1.227 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.484e-05/0.3595, allocations: 27.86 kB / 1.227 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.3595, allocations: 4 kB / 1.227 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.238e-05/0.3596, allocations: 4 kB / 1.227 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.604e-05/0.3596, allocations: 11.98 kB / 1.227 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.96e-05/0.3597, allocations: 19.88 kB / 1.227 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.3598, allocations: 47.8 kB / 1.227 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3598, allocations: 0 / 1.227 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3598, allocations: 0 / 1.227 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.827e-06/0.3598, allocations: 4 kB / 1.227 GB, free: 7.547 MB / 0.9825 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.0005501/0.3604, allocations: 367.3 kB / 1.228 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.3604, allocations: 8.031 kB / 1.228 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.176e-05/0.3605, allocations: 38.75 kB / 1.228 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.665e-05/0.3605, allocations: 4.938 kB / 1.228 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.3607, allocations: 172.3 kB / 1.228 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.3607, allocations: 4.375 kB / 1.228 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.3607, allocations: 8.375 kB / 1.228 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.3609, allocations: 57.75 kB / 1.228 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.3609, allocations: 3.984 kB / 1.228 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.3609, allocations: 0 / 1.228 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.3609, allocations: 8 kB / 1.228 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.711e-05/0.361, allocations: 27.92 kB / 1.228 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005378/0.3615, allocations: 292.8 kB / 1.228 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.3617, allocations: 54.56 kB / 1.228 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.709e-05/0.3617, allocations: 28.88 kB / 1.228 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.3617, allocations: 4 kB / 1.228 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002021/0.362, allocations: 75.38 kB / 1.228 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.362, allocations: 0 / 1.228 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0002485/0.3622, allocations: 101.6 kB / 1.228 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.3623, allocations: 55.41 kB / 1.229 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.232e-05/0.3624, allocations: 109.9 kB / 1.229 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.3624, allocations: 29.7 kB / 1.229 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.898e-05/0.3624, allocations: 84.14 kB / 1.229 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/0.3625, allocations: 27.83 kB / 1.229 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.57e-05/0.3625, allocations: 25.72 kB / 1.229 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.3627, allocations: 326.8 kB / 1.229 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.698e-05/0.3627, allocations: 12 kB / 1.229 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.826e-05/0.3628, allocations: 47.42 kB / 1.229 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.226e-05/0.3629, allocations: 75.39 kB / 1.229 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.3629, allocations: 4 kB / 1.229 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001632/0.3631, allocations: 93.56 kB / 1.229 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.3631, allocations: 4 kB / 1.229 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.3631, allocations: 0 / 1.229 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.3631, allocations: 4 kB / 1.229 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-05/0.3632, allocations: 11.94 kB / 1.229 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3632, allocations: 0 / 1.229 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.2e-05/0.3633, allocations: 19.95 kB / 1.229 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.3633, allocations: 7.938 kB / 1.229 GB, free: 5.141 MB / 0.9825 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 0.0001018/0.3634, allocations: 114.4 kB / 1.229 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.175e-05/0.3634, allocations: 7.953 kB / 1.229 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.55e-05/0.3635, allocations: 11.91 kB / 1.229 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.3635, allocations: 7.984 kB / 1.23 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.3635, allocations: 4.312 kB / 1.23 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.3635, allocations: 0 / 1.23 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004362/0.364, allocations: 358.4 kB / 1.23 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.364, allocations: 0 / 1.23 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.96e-05/0.364, allocations: 4 kB / 1.23 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.364, allocations: 0 / 1.23 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.364, allocations: 0 / 1.23 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.364, allocations: 7.938 kB / 1.23 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3641, allocations: 0 / 1.23 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002063/0.3643, allocations: 187.4 kB / 1.23 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.454e-05/0.3643, allocations: 77.11 kB / 1.23 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.3644, allocations: 11.98 kB / 1.23 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.228e-05/0.3644, allocations: 3.938 kB / 1.23 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.529e-05/0.3645, allocations: 7.984 kB / 1.23 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.3645, allocations: 4.062 kB / 1.23 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.585e-05/0.3646, allocations: 87.36 kB / 1.23 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.6e-07/0.3646, allocations: 0 / 1.23 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002477/0.3648, allocations: 23.89 kB / 1.23 GB, free: 4.133 MB / 0.9825 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.0005265/0.3654, allocations: 0.7192 MB / 1.231 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001722/0.3655, allocations: 60.14 kB / 1.231 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3656, allocations: 4 kB / 1.231 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.915e-05/0.3656, allocations: 27.92 kB / 1.231 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.3659, allocations: 16.22 kB / 1.231 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.3674, allocations: 1.371 MB / 1.232 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.3677, allocations: 0.6846 MB / 1.233 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.7e-05/0.3677, allocations: 15.92 kB / 1.233 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.337e-05/0.3678, allocations: 15.44 kB / 1.233 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of SimCode: time 4.51e-07/0.3678, allocations: 0 / 1.233 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01987/0.3877, allocations: 1.767 MB / 1.235 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.374/7.762, allocations: 17.31 kB / 1.235 GB, free: 15.42 MB / 0.9981 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv --start-time -1 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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) Reference file matches