Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 107.5 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002096/0.002096, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.555/1.555, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.221/3.221, allocations: 0.505 GB / 0.8066 GB, free: 23.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_latest_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_latest_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 68.39 kB / 1.172 GB, free: 17.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3748, allocations: 180.2 MB / 1.348 GB, free: 10.03 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002717/0.3776, allocations: 1.463 MB / 1.349 GB, free: 8.555 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0008511/0.3784, allocations: 474.8 kB / 1.35 GB, free: 8.086 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.029e-05/0.3784, allocations: 0 / 1.35 GB, free: 8.086 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.739e-05/0.3785, allocations: 3.938 kB / 1.35 GB, free: 8.082 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.056e-05/0.3786, allocations: 15.94 kB / 1.35 GB, free: 8.066 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001462/0.3787, allocations: 23.91 kB / 1.35 GB, free: 8.043 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.3788, allocations: 47.86 kB / 1.35 GB, free: 7.996 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.581e-05/0.3789, allocations: 0 / 1.35 GB, free: 7.996 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.428e-05/0.379, allocations: 27.91 kB / 1.35 GB, free: 7.969 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.42e-05/0.379, allocations: 19.92 kB / 1.35 GB, free: 7.949 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.3791, allocations: 11.88 kB / 1.35 GB, free: 7.938 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.152e-05/0.3791, allocations: 4 kB / 1.35 GB, free: 7.934 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.539e-05/0.3791, allocations: 3.984 kB / 1.35 GB, free: 7.93 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.427e-05/0.3791, allocations: 23.88 kB / 1.35 GB, free: 7.906 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.3793, allocations: 48.09 kB / 1.35 GB, free: 7.859 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3793, allocations: 0 / 1.35 GB, free: 7.859 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3793, allocations: 0 / 1.35 GB, free: 7.859 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.3793, allocations: 0 / 1.35 GB, free: 7.859 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006248/0.3799, allocations: 401 kB / 1.35 GB, free: 7.414 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.3799, allocations: 11.98 kB / 1.35 GB, free: 7.402 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.039e-05/0.38, allocations: 30.75 kB / 1.35 GB, free: 7.363 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.187e-05/0.38, allocations: 12.89 kB / 1.35 GB, free: 7.352 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.3801, allocations: 168.4 kB / 1.35 GB, free: 7.148 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.3802, allocations: 4.359 kB / 1.35 GB, free: 7.145 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.3802, allocations: 4.375 kB / 1.35 GB, free: 7.141 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.3803, allocations: 57.75 kB / 1.35 GB, free: 7.078 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.3803, allocations: 0 / 1.35 GB, free: 7.078 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.3803, allocations: 0 / 1.35 GB, free: 7.078 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.3803, allocations: 3.938 kB / 1.35 GB, free: 7.074 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.04e-05/0.3804, allocations: 19.98 kB / 1.35 GB, free: 7.055 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004061/0.3808, allocations: 280.8 kB / 1.351 GB, free: 6.73 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.372e-05/0.3809, allocations: 38.5 kB / 1.351 GB, free: 6.684 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.78e-05/0.3809, allocations: 16.98 kB / 1.351 GB, free: 6.664 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.3809, allocations: 0 / 1.351 GB, free: 6.664 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001957/0.3811, allocations: 101.1 kB / 1.351 GB, free: 6.547 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 3.186e-06/0.3811, allocations: 7.938 kB / 1.351 GB, free: 6.539 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0002871/0.3814, allocations: 139.3 kB / 1.351 GB, free: 6.391 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.3815, allocations: 77.11 kB / 1.351 GB, free: 6.297 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.813e-05/0.3816, allocations: 117.8 kB / 1.351 GB, free: 6.172 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.3816, allocations: 25.7 kB / 1.351 GB, free: 6.141 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.241e-05/0.3816, allocations: 88.14 kB / 1.351 GB, free: 6.051 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.3817, allocations: 15.91 kB / 1.351 GB, free: 6.035 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-05/0.3817, allocations: 33.7 kB / 1.351 GB, free: 5.996 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.3818, allocations: 326.8 kB / 1.352 GB, free: 5.668 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.488e-05/0.3819, allocations: 12 kB / 1.352 GB, free: 5.656 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.708e-05/0.3819, allocations: 42.5 kB / 1.352 GB, free: 5.605 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.382, allocations: 106 kB / 1.352 GB, free: 5.48 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.382, allocations: 3.984 kB / 1.352 GB, free: 5.477 MB / 1.045 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001665/0.3822, allocations: 123.7 kB / 1.352 GB, free: 5.344 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.846e-05/0.3823, allocations: 33.7 kB / 1.352 GB, free: 5.305 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.3823, allocations: 0 / 1.352 GB, free: 5.305 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.3823, allocations: 4 kB / 1.352 GB, free: 5.301 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.444e-05/0.3823, allocations: 3.938 kB / 1.352 GB, free: 5.297 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.3823, allocations: 8.047 kB / 1.352 GB, free: 5.289 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.89e-05/0.3824, allocations: 15.98 kB / 1.352 GB, free: 5.273 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.3824, allocations: 4 kB / 1.352 GB, free: 5.27 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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.0001197/0.3825, allocations: 155.5 kB / 1.352 GB, free: 5.102 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.862e-05/0.3825, allocations: 12.33 kB / 1.352 GB, free: 5.09 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.771e-05/0.3826, allocations: 8.375 kB / 1.352 GB, free: 5.082 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3826, allocations: 0 / 1.352 GB, free: 5.082 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3826, allocations: 0 / 1.352 GB, free: 5.082 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3826, allocations: 3.938 kB / 1.352 GB, free: 5.078 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004315/0.383, allocations: 400.1 kB / 1.353 GB, free: 4.625 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.383, allocations: 0 / 1.353 GB, free: 4.625 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.05e-05/0.383, allocations: 4 kB / 1.353 GB, free: 4.621 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.383, allocations: 0 / 1.353 GB, free: 4.621 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.383, allocations: 7.984 kB / 1.353 GB, free: 4.613 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.383, allocations: 7.938 kB / 1.353 GB, free: 4.605 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3831, allocations: 3.938 kB / 1.353 GB, free: 4.602 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/0.3833, allocations: 233.1 kB / 1.353 GB, free: 4.352 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.833e-05/0.3833, allocations: 81.06 kB / 1.353 GB, free: 4.254 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.3834, allocations: 4 kB / 1.353 GB, free: 4.25 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.3835, allocations: 7.984 kB / 1.353 GB, free: 4.242 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.36e-05/0.3835, allocations: 19.92 kB / 1.353 GB, free: 4.223 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.3835, allocations: 4 kB / 1.353 GB, free: 4.219 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.743e-05/0.3836, allocations: 83.28 kB / 1.353 GB, free: 4.137 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3836, allocations: 0 / 1.353 GB, free: 4.137 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002688/0.3839, allocations: 16 kB / 1.353 GB, free: 4.121 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0005539/0.3844, allocations: 0.7687 MB / 1.354 GB, free: 3.32 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001906/0.3846, allocations: 107.3 kB / 1.354 GB, free: 3.203 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3846, allocations: 0 / 1.354 GB, free: 3.203 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.106e-05/0.3847, allocations: 87.27 kB / 1.354 GB, free: 3.105 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.3851, allocations: 21.64 kB / 1.354 GB, free: 3.086 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.3865, allocations: 1.414 MB / 1.355 GB, free: 1.57 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.3868, allocations: 0.6885 MB / 1.356 GB, free: 0.8555 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.219e-05/0.3868, allocations: 7.984 kB / 1.356 GB, free: 0.8477 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.578e-05/0.3869, allocations: 19.44 kB / 1.356 GB, free: 0.8281 MB / 1.045 GB Notification: Performance of SimCode: time 3.21e-07/0.3869, allocations: 3.938 kB / 1.356 GB, free: 0.8242 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02539/0.4123, allocations: 1.891 MB / 1.358 GB, free: 15.03 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.363/8.775, allocations: 19.73 kB / 1.358 GB, free: 15.01 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_Discrete_Examples_BooleanDelay.fmu > Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Discrete_Examples_BooleanDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable del.u in file Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay_res.csv. Warning: Get data of variable del.u from file Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay_res.csv failed! Error: Could not read variable del.y in file Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay_res.csv. Warning: Get data of variable del.y from file Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.767683489946648]