Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.001869/0.001869, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002434/0.002434, allocations: 216.1 kB / 23.04 MB, free: 5.07 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.553/1.553, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.763/2.763, allocations: 476.7 MB / 0.7714 GB, free: 4.301 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="cs",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.002082/0.002082, allocations: 61.72 kB / 1.118 GB, free: 39.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.3846, allocations: 169.9 MB / 1.284 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002116/0.3867, allocations: 0.7461 MB / 1.285 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002089/0.3888, allocations: 1.301 MB / 1.286 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.325e-05/0.3889, allocations: 0 / 1.286 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.488e-05/0.3889, allocations: 3.938 kB / 1.286 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.41e-05/0.389, allocations: 27.78 kB / 1.286 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000729/0.3897, allocations: 250.6 kB / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003277/0.3901, allocations: 255.5 kB / 1.287 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.3902, allocations: 12.23 kB / 1.287 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.3903, allocations: 95.86 kB / 1.287 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.3905, allocations: 103.7 kB / 1.287 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.405e-05/0.3905, allocations: 20 kB / 1.287 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.3907, allocations: 39.97 kB / 1.287 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.466e-05/0.3907, allocations: 39.91 kB / 1.287 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.3908, allocations: 87.73 kB / 1.287 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003231/0.3911, allocations: 218.9 kB / 1.287 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3912, allocations: 3.938 kB / 1.287 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3912, allocations: 0 / 1.287 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.3912, allocations: 0 / 1.287 GB, free: 8.414 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.00089/0.392, allocations: 437.2 kB / 1.288 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.3921, allocations: 8.031 kB / 1.288 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.062e-05/0.3921, allocations: 8.188 kB / 1.288 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.127e-05/0.3922, allocations: 42.73 kB / 1.288 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.616e-05/0.3922, allocations: 24.88 kB / 1.288 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000605/0.3929, allocations: 186.5 kB / 1.288 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.938e-05/0.3929, allocations: 16.36 kB / 1.288 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.108e-05/0.3929, allocations: 20.38 kB / 1.288 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/0.3932, allocations: 143.3 kB / 1.288 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.3932, allocations: 0 / 1.288 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.943e-05/0.3932, allocations: 4 kB / 1.288 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.3932, allocations: 3.984 kB / 1.288 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001453/0.3934, allocations: 59.95 kB / 1.288 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008805/0.3943, allocations: 491.8 kB / 1.289 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002906/0.3945, allocations: 137.2 kB / 1.289 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.3947, allocations: 57.62 kB / 1.289 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.574e-06/0.3947, allocations: 0 / 1.289 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004829/0.3951, allocations: 211.4 kB / 1.289 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=22): time 1.132e-06/0.3951, allocations: 0 / 1.289 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22): time 0.0006164/0.3958, allocations: 321.4 kB / 1.289 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.773e-05/0.3958, allocations: 81.11 kB / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.396, allocations: 135.5 kB / 1.29 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.506e-05/0.396, allocations: 33.7 kB / 1.29 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.3961, allocations: 104.6 kB / 1.29 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.411e-05/0.3962, allocations: 51.62 kB / 1.29 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.3963, allocations: 73.67 kB / 1.29 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002129/0.3965, allocations: 322.8 kB / 1.29 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/0.3967, allocations: 88.23 kB / 1.29 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002378/0.397, allocations: 156.7 kB / 1.29 GB, free: 5 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003393/0.3973, allocations: 244.2 kB / 1.291 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3973, allocations: 0 / 1.291 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006272/0.3979, allocations: 365.9 kB / 1.291 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.789e-05/0.398, allocations: 66.42 kB / 1.291 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.398, allocations: 4 kB / 1.291 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/0.398, allocations: 7.922 kB / 1.291 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.3981, allocations: 27.88 kB / 1.291 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.3981, allocations: 7.875 kB / 1.291 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003749/0.3985, allocations: 71.97 kB / 1.291 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.935e-05/0.3986, allocations: 20 kB / 1.291 GB, free: 4.137 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001747/0.3987, allocations: 143.7 kB / 1.291 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.286e-05/0.3988, allocations: 19.89 kB / 1.291 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.756e-05/0.3988, allocations: 12.44 kB / 1.291 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.3988, allocations: 7.938 kB / 1.291 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.3988, allocations: 0 / 1.291 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.3988, allocations: 4 kB / 1.291 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008025/0.3996, allocations: 0.5827 MB / 1.292 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3996, allocations: 0 / 1.292 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.054e-05/0.3997, allocations: 15.88 kB / 1.292 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3997, allocations: 0 / 1.292 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.735e-05/0.3997, allocations: 15.98 kB / 1.292 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3997, allocations: 0 / 1.292 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3997, allocations: 0 / 1.292 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005665/0.4003, allocations: 430.1 kB / 1.292 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.879e-05/0.4003, allocations: 7.953 kB / 1.292 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.276e-05/0.4004, allocations: 19.86 kB / 1.292 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.4005, allocations: 7.984 kB / 1.292 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.026e-05/0.4006, allocations: 23.95 kB / 1.292 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.4006, allocations: 12 kB / 1.292 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001216/0.4007, allocations: 95.27 kB / 1.292 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.4007, allocations: 4 kB / 1.292 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003703/0.4011, allocations: 63.92 kB / 1.293 GB, free: 2.617 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0008844/0.402, allocations: 0.9644 MB / 1.293 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005422/0.4025, allocations: 314.6 kB / 1.294 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4025, allocations: 0 / 1.294 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.4027, allocations: 87.91 kB / 1.294 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.4031, allocations: 27.97 kB / 1.294 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003138/0.4062, allocations: 2.283 MB / 1.296 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.4066, allocations: 0.7047 MB / 1.297 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.908e-05/0.4067, allocations: 21.48 kB / 1.297 GB, free: 14 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.612e-05/0.4067, allocations: 35.42 kB / 1.297 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/0.4067, allocations: 0 / 1.297 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02807/0.4348, allocations: 4.376 MB / 1.301 GB, free: 9.75 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.7, allocations: 5.938 kB / 1.301 GB, free: 9.746 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.575751591997687] Failed to read output from testmodel.py, exit status != 0: 12.462170665035956 11.895989142 11.499559773 Calling exit ...