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.001685/0.001685, 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.002606/0.002606, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.424/1.424, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.58/2.58, allocations: 437 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 63.91 kB / 0.8694 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7068/0.7084, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.003019/0.7114, allocations: 0.6873 MB / 1.018 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002445/0.7139, allocations: 1.159 MB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.482e-05/0.714, allocations: 0 / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.221e-05/0.7141, allocations: 7.938 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.585e-05/0.7142, allocations: 3.938 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008288/0.7151, allocations: 147.1 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002872/0.7154, allocations: 151.7 kB / 1.02 GB, free: 348 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.7155, allocations: 11.98 kB / 1.02 GB, free: 336 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.7157, allocations: 55.91 kB / 1.02 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/0.7159, allocations: 51.8 kB / 1.02 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 4.859e-05/0.7159, allocations: 12 kB / 1.02 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.7161, allocations: 27.98 kB / 1.02 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.078e-05/0.7161, allocations: 19.92 kB / 1.02 GB, free: 168 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.7163, allocations: 51.89 kB / 1.02 GB, free: 116 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0003596/0.7166, allocations: 133.9 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.7166, allocations: 0 / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7167, allocations: 0 / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.867e-05/0.7167, allocations: 0 / 1.02 GB, free: 15.98 MB / 0.7794 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.0009145/0.7176, allocations: 417 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.47e-05/0.7177, allocations: 12.02 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.719e-05/0.7177, allocations: 38.75 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.981e-05/0.7178, allocations: 12.84 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005298/0.7184, allocations: 212.4 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/0.7184, allocations: 8.312 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.009e-05/0.7184, allocations: 16.36 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002208/0.7187, allocations: 85.89 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.7187, allocations: 4 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.7187, allocations: 3.984 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.7187, allocations: 0 / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.7188, allocations: 39.97 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006932/0.7195, allocations: 364.5 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.7197, allocations: 86.55 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.571e-05/0.7198, allocations: 44.83 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.7198, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002616/0.7201, allocations: 131.3 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 3.206e-06/0.7201, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.00044/0.7206, allocations: 205.5 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.7206, allocations: 55.41 kB / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.7207, allocations: 105.8 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/0.7208, allocations: 37.69 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.577e-05/0.7209, allocations: 92.14 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.726e-05/0.7209, allocations: 35.69 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.876e-05/0.721, allocations: 45.7 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.7212, allocations: 322.8 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.7213, allocations: 55.91 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.7214, allocations: 86.16 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.7216, allocations: 135.2 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.7216, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003623/0.722, allocations: 216.4 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.472e-05/0.7221, allocations: 37.81 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.7221, allocations: 4 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.7221, allocations: 0 / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.422e-05/0.7222, allocations: 12 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.7222, allocations: 4 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002133/0.7224, allocations: 35.86 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.7224, allocations: 8 kB / 1.023 GB, free: 12.79 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.0001378/0.7226, allocations: 137.7 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.7226, allocations: 11.89 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.768e-05/0.7227, allocations: 16.48 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.7227, allocations: 4 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.7227, allocations: 0 / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.7227, allocations: 0 / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004585/0.7232, allocations: 431.5 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.7232, allocations: 3.938 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.219e-05/0.7232, allocations: 11.94 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.7232, allocations: 0 / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.7233, allocations: 7.984 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.7233, allocations: 0 / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.7233, allocations: 0 / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003217/0.7236, allocations: 267.3 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.272e-05/0.7237, allocations: 85.09 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.7237, allocations: 0 / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.674e-05/0.7238, allocations: 11.98 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.086e-05/0.7238, allocations: 19.92 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.7239, allocations: 7.984 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.971e-05/0.724, allocations: 83.28 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.724, allocations: 4 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002815/0.7242, allocations: 35.89 kB / 1.024 GB, free: 11.57 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.0007659/0.725, allocations: 0.8066 MB / 1.025 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003433/0.7254, allocations: 195.3 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.7254, allocations: 0 / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.7255, allocations: 71.92 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.7258, allocations: 26.09 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002191/0.728, allocations: 1.702 MB / 1.027 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.7284, allocations: 0.6962 MB / 1.027 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.76e-05/0.7285, allocations: 8.547 kB / 1.027 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.421e-05/0.7285, allocations: 23.44 kB / 1.027 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of SimCode: time 3.637e-06/0.7285, allocations: 0 / 1.027 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1002/0.8287, allocations: 2.739 MB / 1.03 GB, free: 5.273 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.714/8.543, allocations: 11.64 kB / 1.03 GB, free: 5.262 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