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.001544/0.001544, allocations: 101.9 kB / 19.73 MB, free: 1.992 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.001912/0.001912, allocations: 213.8 kB / 23.03 MB, free: 4.426 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.828/2.828, allocations: 476.8 MB / 0.7715 GB, free: 3.918 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.002057/0.002057, allocations: 63.86 kB / 1.118 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3972/0.3993, allocations: 169.9 MB / 1.284 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002301/0.4016, allocations: 0.7233 MB / 1.285 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001991/0.4036, allocations: 1.269 MB / 1.286 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.164e-05/0.4037, allocations: 0 / 1.286 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.882e-05/0.4037, allocations: 7.875 kB / 1.286 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.4038, allocations: 19.84 kB / 1.286 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008405/0.4047, allocations: 249.8 kB / 1.286 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003857/0.405, allocations: 255.5 kB / 1.287 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.4052, allocations: 12.22 kB / 1.287 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002131/0.4054, allocations: 99.81 kB / 1.287 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000219/0.4056, allocations: 103.7 kB / 1.287 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.189e-05/0.4057, allocations: 20 kB / 1.287 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.4058, allocations: 39.98 kB / 1.287 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.132e-05/0.4058, allocations: 31.92 kB / 1.287 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.4059, allocations: 79.8 kB / 1.287 GB, free: 468 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003252/0.4063, allocations: 231.5 kB / 1.287 GB, free: 236 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.768e-06/0.4063, allocations: 0 / 1.287 GB, free: 236 kB / 0.9825 GB Notification: Performance of FrontEnd: time 2.174e-06/0.4063, allocations: 4 kB / 1.287 GB, free: 232 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.34e-05/0.4063, allocations: 0 / 1.287 GB, free: 232 kB / 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.0008701/0.4072, allocations: 433.2 kB / 1.288 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.4072, allocations: 8.031 kB / 1.288 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.935e-05/0.4072, allocations: 4.188 kB / 1.288 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.296e-05/0.4073, allocations: 38.73 kB / 1.288 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.803e-05/0.4073, allocations: 20.89 kB / 1.288 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006087/0.408, allocations: 195.8 kB / 1.288 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.272e-05/0.408, allocations: 16.36 kB / 1.288 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.727e-05/0.408, allocations: 24.36 kB / 1.288 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/0.4083, allocations: 123.4 kB / 1.288 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.4083, allocations: 4 kB / 1.288 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/0.4083, allocations: 7.984 kB / 1.288 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.4083, allocations: 11.98 kB / 1.288 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.4085, allocations: 59.89 kB / 1.288 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008535/0.4093, allocations: 447.9 kB / 1.288 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002883/0.4096, allocations: 137.2 kB / 1.289 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.4097, allocations: 57.78 kB / 1.289 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.4097, allocations: 4 kB / 1.289 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004379/0.4102, allocations: 208.8 kB / 1.289 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=22): time 2.034e-06/0.4102, allocations: 0 / 1.289 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22): time 0.0006493/0.4108, allocations: 314.7 kB / 1.289 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.607e-05/0.4109, allocations: 97.03 kB / 1.289 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.411, allocations: 128.5 kB / 1.289 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.728e-05/0.4111, allocations: 37.7 kB / 1.289 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.645e-05/0.4112, allocations: 96.64 kB / 1.29 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.592e-05/0.4112, allocations: 59.58 kB / 1.29 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.4114, allocations: 69.67 kB / 1.29 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.4115, allocations: 326.8 kB / 1.29 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002505/0.4118, allocations: 151.6 kB / 1.29 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002714/0.4121, allocations: 216.1 kB / 1.29 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003409/0.4124, allocations: 246.9 kB / 1.291 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.4124, allocations: 0 / 1.291 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006909/0.4131, allocations: 425.2 kB / 1.291 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.192e-05/0.4132, allocations: 71.77 kB / 1.291 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.4132, allocations: 0 / 1.291 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.4132, allocations: 7.938 kB / 1.291 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.921e-05/0.4133, allocations: 16.16 kB / 1.291 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.4133, allocations: 15.92 kB / 1.291 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003588/0.4137, allocations: 63.83 kB / 1.291 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.145e-05/0.4137, allocations: 19.98 kB / 1.291 GB, free: 11.78 MB / 0.9981 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.0001602/0.4139, allocations: 140.7 kB / 1.291 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.4139, allocations: 19.94 kB / 1.291 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.635e-05/0.4139, allocations: 16.44 kB / 1.291 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.414, allocations: 3.938 kB / 1.291 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.414, allocations: 4 kB / 1.291 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.414, allocations: 0 / 1.291 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000721/0.4147, allocations: 0.5748 MB / 1.292 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.4147, allocations: 4 kB / 1.292 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.983e-05/0.4147, allocations: 19.92 kB / 1.292 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.4147, allocations: 0 / 1.292 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.4148, allocations: 4 kB / 1.292 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.4148, allocations: 11.98 kB / 1.292 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4148, allocations: 0 / 1.292 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005021/0.4153, allocations: 429.4 kB / 1.292 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.137e-05/0.4153, allocations: 15.89 kB / 1.292 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.022e-05/0.4153, allocations: 7.938 kB / 1.292 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.4155, allocations: 11.98 kB / 1.292 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.349e-05/0.4156, allocations: 23.95 kB / 1.292 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.57e-05/0.4156, allocations: 23.92 kB / 1.292 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.547e-05/0.4156, allocations: 94.89 kB / 1.292 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.4156, allocations: 0 / 1.292 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003911/0.416, allocations: 63.92 kB / 1.293 GB, free: 10.26 MB / 0.9981 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.0009292/0.417, allocations: 0.9771 MB / 1.293 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005827/0.4175, allocations: 378 kB / 1.294 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4175, allocations: 3.938 kB / 1.294 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.4177, allocations: 87.92 kB / 1.294 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.4181, allocations: 32.91 kB / 1.294 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003481/0.4216, allocations: 2.522 MB / 1.296 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.4217, allocations: 92.83 kB / 1.297 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.036e-05/0.4218, allocations: 21.48 kB / 1.297 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.209e-05/0.4219, allocations: 35.42 kB / 1.297 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of SimCode: time 7.21e-07/0.4219, allocations: 0 / 1.297 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0278/0.4497, allocations: 4.567 MB / 1.301 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.72, allocations: 14.56 kB / 1.301 GB, free: 1.48 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.527444256003946] Failed to read output from testmodel.py, exit status != 0: 11.883822440053336 11.909580717 11.49838512 Calling exit ...