Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_10_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.0012/0.0012, allocations: 108 kB / 15.6 MB, free: 132 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.001115/0.001115, allocations: 196.8 kB / 16.54 MB, free: 6.672 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.179/1.179, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.222/2.222, allocations: 437.1 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 59.91 kB / 0.8693 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4896/0.4909, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002349/0.4932, allocations: 1.48 MB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0005642/0.4938, allocations: 442.9 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.271e-05/0.4939, allocations: 0 / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.471e-05/0.4939, allocations: 7.922 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.465e-05/0.494, allocations: 11.92 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001167/0.4941, allocations: 19.92 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.707e-05/0.4942, allocations: 47.91 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.714e-05/0.4943, allocations: 15.98 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.256e-05/0.4943, allocations: 23.86 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.731e-05/0.4944, allocations: 23.91 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.4944, allocations: 4 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.146e-05/0.4944, allocations: 4 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.4944, allocations: 11.94 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.701e-05/0.4945, allocations: 19.92 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.987e-05/0.4945, allocations: 54.06 kB / 1.02 GB, free: 316 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.4946, allocations: 4 kB / 1.02 GB, free: 312 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4946, allocations: 0 / 1.02 GB, free: 312 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.4946, allocations: 0 / 1.02 GB, free: 312 kB / 0.7637 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.0004169/0.495, allocations: 359.3 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.495, allocations: 12.03 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.956e-05/0.4951, allocations: 34.73 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.446e-05/0.4951, allocations: 8.875 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.4952, allocations: 176.2 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.4952, allocations: 4.375 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.4952, allocations: 4.375 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.457e-05/0.4953, allocations: 61.8 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.241e-06/0.4953, allocations: 0 / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.4954, allocations: 4 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.4954, allocations: 0 / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.531e-05/0.4954, allocations: 27.92 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003927/0.4958, allocations: 304.7 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.017e-05/0.4959, allocations: 54.69 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.493e-05/0.496, allocations: 20.86 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.717e-06/0.496, allocations: 4 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001262/0.4961, allocations: 75.28 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.4961, allocations: 4 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0001822/0.4963, allocations: 97.61 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.4964, allocations: 55.41 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.381e-05/0.4964, allocations: 109.8 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.4964, allocations: 25.7 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.475e-05/0.4965, allocations: 92.05 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.4965, allocations: 19.8 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.4966, allocations: 29.7 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.827e-05/0.4966, allocations: 327.1 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.311e-05/0.4967, allocations: 23.94 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.401e-05/0.4967, allocations: 39.42 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.508e-05/0.4968, allocations: 71.36 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4968, allocations: 3.938 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001231/0.4969, allocations: 97.53 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.497, allocations: 9.719 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.497, allocations: 0 / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.497, allocations: 3.984 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.885e-05/0.497, allocations: 8 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.4971, allocations: 7.938 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.201e-05/0.4971, allocations: 11.92 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-06/0.4971, allocations: 7.938 kB / 1.022 GB, free: 13.9 MB / 0.7794 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 6.596e-05/0.4972, allocations: 122.5 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.302e-05/0.4972, allocations: 7.906 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.583e-05/0.4973, allocations: 7.969 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.4973, allocations: 0 / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.4973, allocations: 0 / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.4973, allocations: 0 / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003183/0.4976, allocations: 354.5 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.4976, allocations: 3.984 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.559e-05/0.4976, allocations: 11.94 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.4977, allocations: 0 / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.4977, allocations: 0 / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.4977, allocations: 3.938 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.4977, allocations: 0 / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.4978, allocations: 183.4 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.123e-05/0.4978, allocations: 85.02 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.4979, allocations: 0 / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.293e-05/0.498, allocations: 19.92 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.382e-05/0.498, allocations: 8.219 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.657e-06/0.498, allocations: 8.047 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.237e-05/0.498, allocations: 87.45 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.498, allocations: 0 / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002174/0.4983, allocations: 15.94 kB / 1.022 GB, free: 12.89 MB / 0.7794 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.0003343/0.4986, allocations: 0.7164 MB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001231/0.4987, allocations: 59.91 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.4987, allocations: 3.938 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.433e-05/0.4988, allocations: 24 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.499, allocations: 15.92 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009422/0.5, allocations: 1.354 MB / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001759/0.5002, allocations: 0.6867 MB / 1.025 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.375e-05/0.5002, allocations: 7.938 kB / 1.025 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.717e-05/0.5003, allocations: 19.44 kB / 1.025 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.5003, allocations: 3.938 kB / 1.025 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.258/1.758, allocations: 1.742 MB / 1.027 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/13.15, allocations: 64 / 1.027 GB, free: 8.215 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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