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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.005108/0.005108, allocations: 105 kB / 15.74 MB, free: 6.02 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.001209/0.001209, allocations: 193.4 kB / 16.68 MB, free: 5.938 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.669/2.669, allocations: 469.4 MB / 0.7422 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 67.89 kB / 1.064 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6857/0.6871, allocations: 159.1 MB / 1.22 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.00258/0.6897, allocations: 1.469 MB / 1.221 GB, free: 0.7773 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.000773/0.6905, allocations: 450.9 kB / 1.222 GB, free: 340 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.216e-05/0.6905, allocations: 0 / 1.222 GB, free: 340 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.201e-05/0.6906, allocations: 3.938 kB / 1.222 GB, free: 336 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.299e-05/0.6907, allocations: 7.938 kB / 1.222 GB, free: 328 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001641/0.6909, allocations: 27.91 kB / 1.222 GB, free: 300 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.527e-05/0.691, allocations: 47.91 kB / 1.222 GB, free: 252 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.6911, allocations: 15.98 kB / 1.222 GB, free: 236 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.192e-05/0.6912, allocations: 23.86 kB / 1.222 GB, free: 212 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.64e-05/0.6912, allocations: 23.92 kB / 1.222 GB, free: 188 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.6913, allocations: 4 kB / 1.222 GB, free: 184 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.071e-05/0.6913, allocations: 4 kB / 1.222 GB, free: 180 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.701e-05/0.6913, allocations: 11.92 kB / 1.222 GB, free: 168 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.86e-05/0.6914, allocations: 27.86 kB / 1.222 GB, free: 140 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.6915, allocations: 46.48 kB / 1.222 GB, free: 96 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.6915, allocations: 0 / 1.222 GB, free: 96 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6915, allocations: 0 / 1.222 GB, free: 96 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.6915, allocations: 0 / 1.222 GB, free: 96 kB / 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.0005293/0.692, allocations: 368.3 kB / 1.222 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.6921, allocations: 8.625 kB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.161e-05/0.6921, allocations: 34.75 kB / 1.222 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.102e-05/0.6922, allocations: 4.938 kB / 1.222 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.6923, allocations: 180.2 kB / 1.222 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.6923, allocations: 4.375 kB / 1.222 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.6924, allocations: 4.375 kB / 1.222 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.6925, allocations: 61.8 kB / 1.222 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.6925, allocations: 4 kB / 1.222 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.6925, allocations: 0 / 1.222 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.6925, allocations: 0 / 1.222 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.461e-05/0.6926, allocations: 31.92 kB / 1.223 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004593/0.693, allocations: 288.8 kB / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.6932, allocations: 66.59 kB / 1.223 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.368e-05/0.6932, allocations: 28.94 kB / 1.223 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.6932, allocations: 0 / 1.223 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/0.6934, allocations: 75.33 kB / 1.223 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.6934, allocations: 0 / 1.223 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.0002148/0.6936, allocations: 97.89 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.6937, allocations: 55.41 kB / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.4e-05/0.6938, allocations: 113.8 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.6938, allocations: 37.64 kB / 1.223 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.971e-05/0.6938, allocations: 84.12 kB / 1.223 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.6939, allocations: 19.86 kB / 1.223 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.372e-05/0.6939, allocations: 33.64 kB / 1.223 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.115e-05/0.694, allocations: 318.8 kB / 1.224 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.719e-05/0.6941, allocations: 19.98 kB / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.136e-05/0.6941, allocations: 47.42 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.503e-05/0.6942, allocations: 67.55 kB / 1.224 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.6942, allocations: 0 / 1.224 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001447/0.6944, allocations: 93.56 kB / 1.224 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.6944, allocations: 9.719 kB / 1.224 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.6944, allocations: 0 / 1.224 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.6944, allocations: 0 / 1.224 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.433e-05/0.6945, allocations: 15.97 kB / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.6945, allocations: 7.984 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.021e-05/0.6946, allocations: 11.94 kB / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.6946, allocations: 7.938 kB / 1.224 GB, free: 13.68 MB / 0.9512 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.467e-05/0.6947, allocations: 114.4 kB / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.476e-05/0.6947, allocations: 7.953 kB / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.364e-05/0.6948, allocations: 11.95 kB / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.6948, allocations: 0 / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.6948, allocations: 4 kB / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.6948, allocations: 0 / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003946/0.6952, allocations: 358.4 kB / 1.224 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.6952, allocations: 3.938 kB / 1.224 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.91e-05/0.6952, allocations: 4 kB / 1.224 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.6952, allocations: 0 / 1.224 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.6953, allocations: 4 kB / 1.224 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/0.6953, allocations: 11.98 kB / 1.224 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.6953, allocations: 0 / 1.224 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.6954, allocations: 187.5 kB / 1.225 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.233e-05/0.6955, allocations: 85.05 kB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.6955, allocations: 7.922 kB / 1.225 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.019e-05/0.6956, allocations: 7.938 kB / 1.225 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.6957, allocations: 11.98 kB / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.6957, allocations: 0 / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.763e-05/0.6957, allocations: 83.27 kB / 1.225 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6957, allocations: 8 kB / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002457/0.696, allocations: 15.95 kB / 1.225 GB, free: 12.66 MB / 0.9512 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.0003822/0.6964, allocations: 0.7085 MB / 1.226 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001325/0.6965, allocations: 52.16 kB / 1.226 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.6965, allocations: 0 / 1.226 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 5.448e-05/0.6966, allocations: 31.98 kB / 1.226 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.6969, allocations: 16.12 kB / 1.226 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.698, allocations: 1.363 MB / 1.227 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002081/0.6982, allocations: 0.6885 MB / 1.228 GB, free: 9.66 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.263e-05/0.6983, allocations: 7.938 kB / 1.228 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.228e-05/0.6983, allocations: 19.38 kB / 1.228 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of SimCode: time 3.31e-07/0.6983, allocations: 3.938 kB / 1.228 GB, free: 9.633 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01765/0.716, allocations: 1.771 MB / 1.229 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.737/8.453, allocations: 15.36 kB / 1.229 GB, free: 7.965 MB / 0.9512 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