Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_latest_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.007365/0.007366, allocations: 102.7 kB / 15.73 MB, free: 6.051 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.001428/0.001428, allocations: 199.5 kB / 16.68 MB, free: 5.969 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.655/2.655, allocations: 461.9 MB / 0.7348 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 63.91 kB / 1.054 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3258, allocations: 157.4 MB / 1.207 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001894/0.3278, allocations: 0.6723 MB / 1.208 GB, free: 9.453 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001588/0.3294, allocations: 1.151 MB / 1.209 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.085e-05/0.3295, allocations: 4 kB / 1.209 GB, free: 8.285 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.081e-05/0.3295, allocations: 7.938 kB / 1.209 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.304e-05/0.3296, allocations: 7.875 kB / 1.209 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000686/0.3303, allocations: 147 kB / 1.209 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002356/0.3306, allocations: 147.7 kB / 1.209 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.3307, allocations: 19.91 kB / 1.209 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.3308, allocations: 55.91 kB / 1.209 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.3309, allocations: 47.86 kB / 1.209 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.133e-05/0.331, allocations: 12 kB / 1.209 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.855e-05/0.3311, allocations: 31.98 kB / 1.21 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.45e-05/0.3311, allocations: 19.92 kB / 1.21 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.739e-05/0.3312, allocations: 63.75 kB / 1.21 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.3314, allocations: 127.9 kB / 1.21 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3314, allocations: 0 / 1.21 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3314, allocations: 0 / 1.21 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.3314, allocations: 0 / 1.21 GB, free: 7.613 MB / 0.9669 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.0006569/0.3321, allocations: 421 kB / 1.21 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.3322, allocations: 12.62 kB / 1.21 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.047e-05/0.3322, allocations: 34.75 kB / 1.21 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.38e-05/0.3323, allocations: 8.938 kB / 1.21 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004072/0.3327, allocations: 216.4 kB / 1.21 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.3327, allocations: 8.375 kB / 1.21 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.707e-05/0.3328, allocations: 20.3 kB / 1.21 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.3329, allocations: 85.95 kB / 1.21 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.333, allocations: 3.984 kB / 1.21 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.333, allocations: 7.922 kB / 1.21 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.333, allocations: 4 kB / 1.211 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.557e-05/0.3331, allocations: 39.97 kB / 1.211 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000615/0.3337, allocations: 356.6 kB / 1.211 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.3339, allocations: 90.55 kB / 1.211 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.579e-05/0.334, allocations: 40.83 kB / 1.211 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.334, allocations: 4 kB / 1.211 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002723/0.3343, allocations: 137.9 kB / 1.211 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 1.874e-06/0.3343, allocations: 0 / 1.211 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0003874/0.3347, allocations: 193.6 kB / 1.211 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.3348, allocations: 55.41 kB / 1.211 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.112e-05/0.3349, allocations: 113.9 kB / 1.211 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.3349, allocations: 33.69 kB / 1.212 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.083e-05/0.335, allocations: 96.62 kB / 1.212 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.335, allocations: 31.61 kB / 1.212 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.953e-05/0.3351, allocations: 49.64 kB / 1.212 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.3352, allocations: 322.8 kB / 1.212 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.3353, allocations: 55.92 kB / 1.212 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.3355, allocations: 88.2 kB / 1.212 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.3356, allocations: 137 kB / 1.212 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3357, allocations: 0 / 1.212 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003227/0.336, allocations: 211.1 kB / 1.212 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.802e-05/0.336, allocations: 41.69 kB / 1.213 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.336, allocations: 4.125 kB / 1.213 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.3361, allocations: 4 kB / 1.213 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.528e-05/0.3361, allocations: 8 kB / 1.213 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3361, allocations: 0 / 1.213 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.3363, allocations: 31.91 kB / 1.213 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/0.3364, allocations: 19.92 kB / 1.213 GB, free: 4.402 MB / 0.9669 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.0001156/0.3365, allocations: 129.7 kB / 1.213 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.042e-05/0.3365, allocations: 11.89 kB / 1.213 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.506e-05/0.3366, allocations: 16.5 kB / 1.213 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.3366, allocations: 0 / 1.213 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3366, allocations: 0 / 1.213 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3366, allocations: 0 / 1.213 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004094/0.337, allocations: 434.3 kB / 1.213 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.337, allocations: 0 / 1.213 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.082e-05/0.337, allocations: 4 kB / 1.213 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.3371, allocations: 4 kB / 1.213 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.3371, allocations: 7.984 kB / 1.213 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3371, allocations: 0 / 1.213 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3371, allocations: 0 / 1.213 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.3374, allocations: 259.4 kB / 1.213 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.173e-05/0.3374, allocations: 100.9 kB / 1.213 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.687e-05/0.3375, allocations: 4 kB / 1.213 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.629e-05/0.3375, allocations: 7.984 kB / 1.214 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.27e-05/0.3376, allocations: 19.92 kB / 1.214 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.3376, allocations: 11.98 kB / 1.214 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.705e-05/0.3377, allocations: 87.58 kB / 1.214 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3377, allocations: 0 / 1.214 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002689/0.338, allocations: 35.98 kB / 1.214 GB, free: 3.188 MB / 0.9669 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.0006718/0.3386, allocations: 0.8071 MB / 1.214 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000334/0.339, allocations: 191.3 kB / 1.215 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.339, allocations: 0 / 1.215 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.3391, allocations: 67.97 kB / 1.215 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.3394, allocations: 24.89 kB / 1.215 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.3415, allocations: 1.696 MB / 1.216 GB, free: 264 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.3419, allocations: 0.6885 MB / 1.217 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.921e-05/0.3419, allocations: 12.56 kB / 1.217 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.29e-05/0.342, allocations: 23.42 kB / 1.217 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of SimCode: time 9.01e-07/0.342, allocations: 0 / 1.217 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01865/0.3607, allocations: 2.853 MB / 1.22 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.607/7.968, allocations: 5.266 kB / 1.22 GB, free: 12.81 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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