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.002021/0.002021, allocations: 116.1 kB / 17.17 MB, free: 6 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.002492/0.002492, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.571/1.571, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.969/2.969, allocations: 476.7 MB / 0.7678 GB, free: 9.363 MB / 0.6075 GB " [Timeout remaining time 176] 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.002307/0.002307, allocations: 81.59 kB / 1.113 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9745/0.9768, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002137/0.9789, allocations: 0.7393 MB / 1.28 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001927/0.9809, allocations: 1.3 MB / 1.281 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.669e-05/0.9809, allocations: 0.8438 kB / 1.281 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.964e-05/0.981, allocations: 8.578 kB / 1.281 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.637e-05/0.9811, allocations: 18.34 kB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007656/0.9818, allocations: 253 kB / 1.281 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003247/0.9822, allocations: 253.3 kB / 1.281 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.9823, allocations: 15.77 kB / 1.281 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/0.9824, allocations: 98.14 kB / 1.282 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002056/0.9826, allocations: 97.03 kB / 1.282 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.928e-05/0.9827, allocations: 26.94 kB / 1.282 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.9828, allocations: 41.34 kB / 1.282 GB, free: 9.984 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.632e-05/0.9829, allocations: 25.64 kB / 1.282 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000153/0.983, allocations: 91.58 kB / 1.282 GB, free: 9.926 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003887/0.9834, allocations: 227.3 kB / 1.282 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.9834, allocations: 0.5 kB / 1.282 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.255e-06/0.9834, allocations: 0.5312 kB / 1.282 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.2e-05/0.9834, allocations: 4 kB / 1.282 GB, free: 9.844 MB / 0.9981 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.0008619/0.9843, allocations: 0.4926 MB / 1.283 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.9843, allocations: 9.969 kB / 1.283 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.52e-05/0.9843, allocations: 5.469 kB / 1.283 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.7e-05/0.9844, allocations: 38.89 kB / 1.283 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.673e-05/0.9845, allocations: 21.59 kB / 1.283 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006375/0.9851, allocations: 255.3 kB / 1.283 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.9851, allocations: 14.36 kB / 1.283 GB, free: 9.102 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.343e-05/0.9852, allocations: 19.77 kB / 1.283 GB, free: 9.102 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002877/0.9855, allocations: 139.6 kB / 1.283 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.9855, allocations: 0 / 1.283 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.9855, allocations: 5 kB / 1.283 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.9855, allocations: 1.375 kB / 1.283 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.9857, allocations: 67.48 kB / 1.283 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008955/0.9866, allocations: 0.5161 MB / 1.284 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002818/0.9868, allocations: 139 kB / 1.284 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.9869, allocations: 53.61 kB / 1.284 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.987, allocations: 5.719 kB / 1.284 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004266/0.9874, allocations: 208.8 kB / 1.284 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=22): time 1.573e-06/0.9874, allocations: 0 / 1.284 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22): time 0.0006136/0.988, allocations: 313.2 kB / 1.284 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.167e-05/0.9881, allocations: 88.05 kB / 1.284 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.9882, allocations: 134.6 kB / 1.284 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.996e-05/0.9882, allocations: 37.33 kB / 1.285 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.794e-05/0.9883, allocations: 104.8 kB / 1.285 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.647e-05/0.9884, allocations: 51.67 kB / 1.285 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.9885, allocations: 73.08 kB / 1.285 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.9887, allocations: 323.4 kB / 1.285 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.9889, allocations: 87.08 kB / 1.285 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002402/0.9891, allocations: 155.7 kB / 1.285 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000355/0.9895, allocations: 255.1 kB / 1.286 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.9895, allocations: 1.312 kB / 1.286 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006387/0.9901, allocations: 356.9 kB / 1.286 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.083e-05/0.9902, allocations: 63.84 kB / 1.286 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.9902, allocations: 3.25 kB / 1.286 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.9902, allocations: 6.625 kB / 1.286 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.743e-05/0.9903, allocations: 23.72 kB / 1.286 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.9903, allocations: 7.422 kB / 1.286 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003814/0.9907, allocations: 65.05 kB / 1.286 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.796e-05/0.9907, allocations: 17 kB / 1.286 GB, free: 6.879 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.0001601/0.9909, allocations: 147.8 kB / 1.286 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.189e-05/0.9909, allocations: 13.42 kB / 1.286 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.503e-05/0.991, allocations: 16.22 kB / 1.286 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.991, allocations: 7.203 kB / 1.286 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.991, allocations: 3.938 kB / 1.286 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.991, allocations: 2.625 kB / 1.286 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007194/0.9917, allocations: 0.6137 MB / 1.287 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.9917, allocations: 0 / 1.287 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.69e-05/0.9917, allocations: 12.2 kB / 1.287 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.9917, allocations: 5.344 kB / 1.287 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/0.9918, allocations: 11.27 kB / 1.287 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.9918, allocations: 1.344 kB / 1.287 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.9918, allocations: 0 / 1.287 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004623/0.9922, allocations: 415.2 kB / 1.287 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.633e-05/0.9923, allocations: 98.39 kB / 1.287 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.105e-05/0.9923, allocations: 14.38 kB / 1.287 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.9925, allocations: 17.56 kB / 1.287 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.486e-05/0.9925, allocations: 22.83 kB / 1.287 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.37e-05/0.9926, allocations: 20.66 kB / 1.287 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.091e-05/0.9926, allocations: 95.89 kB / 1.288 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.9926, allocations: 0 / 1.288 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003642/0.993, allocations: 50.88 kB / 1.288 GB, free: 5.75 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.0008647/0.9939, allocations: 0.9767 MB / 1.289 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00053/0.9944, allocations: 312.4 kB / 1.289 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.9944, allocations: 1.125 kB / 1.289 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.9946, allocations: 84.33 kB / 1.289 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004101/0.995, allocations: 38.58 kB / 1.289 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002981/0.998, allocations: 2.289 MB / 1.291 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.9983, allocations: 0.7071 MB / 1.292 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.765e-05/0.9984, allocations: 20.38 kB / 1.292 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.99e-05/0.9985, allocations: 37.48 kB / 1.292 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of SimCode: time 6.91e-07/0.9985, allocations: 0 / 1.292 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02382/1.022, allocations: 4.16 MB / 1.296 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.365/9.388, allocations: 19.92 kB / 1.296 GB, free: 1.582 MB / 0.9981 GB " [Timeout remaining time 290] (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: 15.865315111994278] Failed to read output from testmodel.py, exit status != 0: 9.51932542299619 9.542430722 8.554708937000001 Calling exit ...