Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",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.001223/0.001223, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001265/0.001265, allocations: 195.2 kB / 16.14 MB, free: 6.691 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.248/1.248, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.307/2.307, allocations: 437 MB / 0.7099 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 67.91 kB / 0.8687 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6322/0.6337, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001911/0.6356, allocations: 0.7421 MB / 1.017 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001495/0.6372, allocations: 1.167 MB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.527e-05/0.6372, allocations: 4 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.153e-05/0.6373, allocations: 3.938 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.353e-05/0.6373, allocations: 3.938 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004349/0.6378, allocations: 127.3 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001476/0.6379, allocations: 135.7 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.726e-05/0.638, allocations: 11.98 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.965e-05/0.6381, allocations: 51.89 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.991e-05/0.6382, allocations: 43.88 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.837e-05/0.6383, allocations: 8 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.179e-05/0.6383, allocations: 19.98 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.999e-05/0.6384, allocations: 23.91 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.097e-05/0.6385, allocations: 43.84 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.6386, allocations: 129.9 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.6386, allocations: 4 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of FrontEnd: time 9.72e-07/0.6386, allocations: 0 / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.6387, allocations: 0 / 1.019 GB, free: 288 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005176/0.6392, allocations: 421 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.6392, allocations: 8.031 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.988e-05/0.6393, allocations: 42.67 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.404e-05/0.6393, allocations: 12.84 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003492/0.6397, allocations: 212.4 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.6397, allocations: 4.375 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.01e-05/0.6397, allocations: 16.38 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.6399, allocations: 89.81 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.6399, allocations: 0 / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.6399, allocations: 12 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.6399, allocations: 0 / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.253e-05/0.64, allocations: 35.97 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005384/0.6406, allocations: 360.6 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.6407, allocations: 94.58 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.146e-05/0.6408, allocations: 36.84 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.709e-06/0.6408, allocations: 160 / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000246/0.6411, allocations: 139.3 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.894e-06/0.6411, allocations: 3.938 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0003583/0.6415, allocations: 205.5 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.6415, allocations: 55.41 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.159e-05/0.6416, allocations: 109.8 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.6416, allocations: 33.7 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.811e-05/0.6417, allocations: 96.03 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.6417, allocations: 31.64 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.808e-05/0.6418, allocations: 49.69 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.6419, allocations: 318.8 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.642, allocations: 51.97 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.6422, allocations: 88.5 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.6423, allocations: 135.2 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.6424, allocations: 4 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003313/0.6427, allocations: 211 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/0.6427, allocations: 29.7 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.6428, allocations: 8.125 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.6428, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.731e-05/0.6428, allocations: 15.92 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.6429, allocations: 4 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001828/0.643, allocations: 35.88 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.6431, allocations: 7.984 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition5,$whenCondition6,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001035/0.6432, allocations: 134.2 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.801e-05/0.6432, allocations: 15.84 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.159e-05/0.6432, allocations: 8.5 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.6432, allocations: 11.97 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.6433, allocations: 0 / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.6433, allocations: 0 / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000401/0.6437, allocations: 426.5 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.6437, allocations: 3.938 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.838e-05/0.6437, allocations: 7.938 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.6437, allocations: 4 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.6437, allocations: 15.92 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.6438, allocations: 0 / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6438, allocations: 0 / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/0.644, allocations: 259.3 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.897e-05/0.6441, allocations: 85.02 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.6441, allocations: 7.984 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.205e-05/0.6442, allocations: 8 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.694e-05/0.6442, allocations: 23.91 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.6443, allocations: 8 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.754e-05/0.6443, allocations: 87.25 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6443, allocations: 0 / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002566/0.6446, allocations: 32 kB / 1.023 GB, free: 11.86 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: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0005264/0.6451, allocations: 0.8069 MB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002753/0.6454, allocations: 187.3 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6454, allocations: 0 / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.949e-05/0.6455, allocations: 71.91 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.6458, allocations: 16.48 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.6474, allocations: 1.735 MB / 1.026 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.6477, allocations: 0.6926 MB / 1.027 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.176e-05/0.6477, allocations: 8.562 kB / 1.027 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.41e-05/0.6478, allocations: 23.42 kB / 1.027 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of SimCode: time 3.2e-07/0.6478, allocations: 0 / 1.027 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01076/0.6585, allocations: 2.511 MB / 1.029 GB, free: 5.801 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002242/0.6588, allocations: 219.8 kB / 1.029 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.642/2.301, allocations: 0 / 1.029 GB, free: 5.547 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,noThr.u,noThr.y,noThr.t,noThr.passed,thrTim.u,thrTim.y,thrTim.t,thrTim.passed Variables in the result:booPul.period,booPul.shift,booPul.width,booPul.y,noThr.passed,noThr.t,noThr.u,noThr.y,thrTim.passed,thrTim.t,thrTim.u,thrTim.y,time