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.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.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.001263/0.001263, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001304/0.001304, allocations: 192.2 kB / 16.25 MB, free: 6.637 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.378/1.378, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.624/2.624, allocations: 437 MB / 0.7101 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 59.91 kB / 0.8689 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.81/0.8114, allocations: 151.6 MB / 1.017 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001941/0.8134, allocations: 0.7304 MB / 1.018 GB, free: 1.957 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00139/0.8148, allocations: 1.156 MB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.76e-05/0.8148, allocations: 0 / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.007e-05/0.8149, allocations: 4 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.701e-05/0.815, allocations: 11.91 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004937/0.8155, allocations: 123.4 kB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.8156, allocations: 155.7 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.198e-05/0.8157, allocations: 8 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.295e-05/0.8158, allocations: 55.89 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.623e-05/0.8159, allocations: 43.88 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.904e-05/0.816, allocations: 16 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.236e-05/0.8161, allocations: 27.98 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.983e-05/0.8161, allocations: 23.91 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.029e-05/0.8162, allocations: 59.72 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.8164, allocations: 137.9 kB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.8164, allocations: 0 / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.203e-06/0.8164, allocations: 0 / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.8164, allocations: 0 / 1.019 GB, free: 140 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.0006318/0.817, allocations: 421 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.8171, allocations: 8.031 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.419e-05/0.8171, allocations: 38.75 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.698e-05/0.8172, allocations: 12.84 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004206/0.8176, allocations: 212.4 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.8177, allocations: 4.375 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.911e-05/0.8177, allocations: 20.36 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.8179, allocations: 81.89 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.8179, allocations: 0 / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.8179, allocations: 11.98 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.8179, allocations: 0 / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.535e-05/0.818, allocations: 39.97 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000583/0.8186, allocations: 360.5 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.8188, allocations: 90.53 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.534e-05/0.8189, allocations: 44.83 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.8189, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002815/0.8192, allocations: 139.4 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/0.8192, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0004075/0.8196, allocations: 205.6 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.8197, allocations: 55.41 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.767e-05/0.8198, allocations: 109.8 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.794e-05/0.8198, allocations: 33.69 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.37e-05/0.8199, allocations: 92.14 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.045e-05/0.8199, allocations: 35.55 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.757e-05/0.82, allocations: 45.7 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.8202, allocations: 318.8 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.8203, allocations: 51.97 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.8204, allocations: 86.33 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.8206, allocations: 135.1 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.8206, allocations: 4 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003226/0.8209, allocations: 203.2 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.721e-05/0.821, allocations: 45.75 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.821, allocations: 4 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.821, allocations: 0 / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.699e-05/0.8211, allocations: 11.94 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.8211, allocations: 4 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.8213, allocations: 35.86 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.8213, allocations: 8 kB / 1.022 GB, free: 12.94 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.0001031/0.8214, allocations: 138.2 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.8214, allocations: 15.89 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.238e-05/0.8215, allocations: 8.5 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.8215, allocations: 4 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.8215, allocations: 0 / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.8215, allocations: 0 / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003974/0.8219, allocations: 438.3 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.8219, allocations: 3.938 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.256e-05/0.822, allocations: 11.98 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.822, allocations: 0 / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.822, allocations: 4 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.822, allocations: 0 / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.822, allocations: 0 / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002622/0.8223, allocations: 267.4 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.327e-05/0.8223, allocations: 81.11 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.8223, allocations: 4 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.8225, allocations: 15.98 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.723e-05/0.8225, allocations: 15.92 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.8226, allocations: 11.98 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.273e-05/0.8226, allocations: 83.22 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8226, allocations: 0 / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000356/0.823, allocations: 39.89 kB / 1.023 GB, free: 11.72 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.0005683/0.8235, allocations: 0.8023 MB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002996/0.8239, allocations: 195.2 kB / 1.024 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.8239, allocations: 0 / 1.024 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.824, allocations: 79.91 kB / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.8242, allocations: 27.09 kB / 1.024 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.8259, allocations: 1.721 MB / 1.026 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002152/0.8261, allocations: 0.6962 MB / 1.027 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.625e-05/0.8261, allocations: 8.547 kB / 1.027 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.979e-05/0.8262, allocations: 27.38 kB / 1.027 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of SimCode: time 2.01e-07/0.8262, allocations: 0 / 1.027 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02441/0.8506, allocations: 2.613 MB / 1.029 GB, free: 5.566 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001781/0.8508, allocations: 223.6 kB / 1.03 GB, free: 5.312 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.686/2.537, allocations: 0 / 1.03 GB, free: 5.312 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