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.001242/0.001242, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.201/1.201, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.06/2.06, allocations: 390.2 MB / 0.6647 GB, free: 424 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 59.89 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4997/0.5008, allocations: 140.4 MB / 0.9497 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002158/0.503, allocations: 1.468 MB / 0.9511 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004815/0.5035, allocations: 451.1 kB / 0.9516 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.279e-05/0.5036, allocations: 5.25 kB / 0.9516 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.177e-05/0.5036, allocations: 3.938 kB / 0.9516 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.036e-05/0.5037, allocations: 5.062 kB / 0.9516 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001151/0.5038, allocations: 24.28 kB / 0.9516 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.377e-05/0.5039, allocations: 44.8 kB / 0.9516 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.544e-05/0.504, allocations: 21.67 kB / 0.9517 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.425e-05/0.504, allocations: 19.66 kB / 0.9517 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.817e-05/0.5041, allocations: 21.31 kB / 0.9517 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.5041, allocations: 4.188 kB / 0.9517 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.272e-05/0.5041, allocations: 8 kB / 0.9517 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.93e-05/0.5041, allocations: 18.77 kB / 0.9517 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.698e-05/0.5042, allocations: 14.97 kB / 0.9518 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.746e-05/0.5042, allocations: 52.36 kB / 0.9518 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.5043, allocations: 0 / 0.9518 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5043, allocations: 0 / 0.9518 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.5043, allocations: 5.281 kB / 0.9518 GB, free: 7.535 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.0003808/0.5047, allocations: 360.5 kB / 0.9522 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.5047, allocations: 14 kB / 0.9522 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.36e-05/0.5047, allocations: 35.88 kB / 0.9522 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.471e-05/0.5048, allocations: 3.938 kB / 0.9522 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.839e-05/0.5048, allocations: 171.6 kB / 0.9524 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.5049, allocations: 2.938 kB / 0.9524 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.5049, allocations: 7.062 kB / 0.9524 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.655e-05/0.505, allocations: 60.75 kB / 0.9524 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.505, allocations: 0 / 0.9524 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.505, allocations: 0 / 0.9524 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.505, allocations: 1.406 kB / 0.9524 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.522e-05/0.5051, allocations: 30.75 kB / 0.9525 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003453/0.5054, allocations: 304.8 kB / 0.9528 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.945e-05/0.5055, allocations: 53.59 kB / 0.9528 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.491e-05/0.5055, allocations: 28.91 kB / 0.9528 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.332e-06/0.5055, allocations: 4.094 kB / 0.9528 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001155/0.5057, allocations: 72.89 kB / 0.9529 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.5057, allocations: 0 / 0.9529 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0001754/0.5059, allocations: 101.3 kB / 0.953 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.203e-05/0.5059, allocations: 56.88 kB / 0.9531 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.549e-05/0.5059, allocations: 105 kB / 0.9532 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.899e-06/0.5059, allocations: 27.08 kB / 0.9532 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.341e-05/0.506, allocations: 99.97 kB / 0.9533 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.506, allocations: 18.27 kB / 0.9533 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/0.506, allocations: 26.78 kB / 0.9533 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.444e-05/0.5061, allocations: 320.1 kB / 0.9536 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.095e-05/0.5061, allocations: 17.47 kB / 0.9536 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.962e-05/0.5062, allocations: 52.42 kB / 0.9537 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.851e-05/0.5062, allocations: 70.78 kB / 0.9538 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5062, allocations: 1.656 kB / 0.9538 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001142/0.5064, allocations: 102.6 kB / 0.9539 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.5064, allocations: 5.406 kB / 0.9539 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.5064, allocations: 0 / 0.9539 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.5064, allocations: 1.938 kB / 0.9539 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.873e-05/0.5065, allocations: 9.344 kB / 0.9539 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.5065, allocations: 1.594 kB / 0.9539 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.087e-05/0.5065, allocations: 16.17 kB / 0.9539 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.5065, allocations: 14.44 kB / 0.9539 GB, free: 5.453 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 4.818e-05/0.5066, allocations: 118.8 kB / 0.954 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.122e-05/0.5066, allocations: 6.531 kB / 0.954 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.184e-05/0.5066, allocations: 9.094 kB / 0.954 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.5066, allocations: 1.094 kB / 0.954 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.5067, allocations: 0 / 0.954 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.5067, allocations: 5.141 kB / 0.954 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002716/0.5069, allocations: 358.7 kB / 0.9544 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.5069, allocations: 1.375 kB / 0.9544 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.346e-05/0.507, allocations: 2.625 kB / 0.9544 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.507, allocations: 1.469 kB / 0.9544 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.507, allocations: 0 / 0.9544 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.507, allocations: 13.03 kB / 0.9544 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.507, allocations: 0 / 0.9544 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.5071, allocations: 184.8 kB / 0.9546 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.563e-05/0.5071, allocations: 82.48 kB / 0.9547 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.5072, allocations: 1.469 kB / 0.9547 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.019e-05/0.5072, allocations: 14.86 kB / 0.9547 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.5073, allocations: 8.297 kB / 0.9547 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.401e-06/0.5073, allocations: 1.875 kB / 0.9547 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.124e-05/0.5073, allocations: 83.94 kB / 0.9548 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5073, allocations: 0 / 0.9548 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002194/0.5075, allocations: 19.16 kB / 0.9548 GB, free: 4.586 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.0002331/0.5078, allocations: 0.7141 MB / 0.9555 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001133/0.5079, allocations: 57.12 kB / 0.9555 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.5079, allocations: 0 / 0.9555 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.432e-05/0.508, allocations: 34.36 kB / 0.9556 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.5082, allocations: 23.33 kB / 0.9556 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007646/0.509, allocations: 1.361 MB / 0.9569 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.465e-05/0.5091, allocations: 0.6935 MB / 0.9576 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.263e-05/0.5091, allocations: 3.156 kB / 0.9576 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/0.5091, allocations: 19.89 kB / 0.9576 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of SimCode: time 2.01e-07/0.5092, allocations: 0 / 0.9576 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01545/0.5246, allocations: 1.724 MB / 0.9593 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.815/7.34, allocations: 6.906 kB / 0.9593 GB, free: 0.8672 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 & python3 -m fmpy simulate --output-file Buildings_9_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_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.csv","/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) "Error: Could not read variable offTim1.u in file Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv. Warning: Get data of variable offTim1.u from file Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv failed! Error: Could not read variable offTim2.u in file Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv. Warning: Get data of variable offTim2.u from file Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv failed! " Variables in the reference:time,offTim1.u,offTim1.y,offTim2.u,offTim2.y Variables in the result:time,offTim1.y,offTim2.y,booleanPulse.period,booleanPulse.startTime,booleanPulse.width