Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001721/0.001721, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.002084/0.002084, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.529/1.529, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.064/3.064, allocations: 0.49 GB / 0.7923 GB, free: 1.449 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_12_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.001988/0.001988, allocations: 71.89 kB / 1.15 GB, free: 14.47 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.08/1.082, allocations: 176.1 MB / 1.321 GB, free: 7.566 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002069/1.084, allocations: 0.7323 MB / 1.322 GB, free: 7.012 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00175/1.086, allocations: 1.301 MB / 1.323 GB, free: 5.965 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.379e-05/1.086, allocations: 1.062 kB / 1.323 GB, free: 5.965 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.388e-05/1.086, allocations: 7.875 kB / 1.323 GB, free: 5.957 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.177e-05/1.086, allocations: 18.81 kB / 1.324 GB, free: 5.941 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007413/1.087, allocations: 238.6 kB / 1.324 GB, free: 5.781 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003499/1.087, allocations: 263.8 kB / 1.324 GB, free: 5.629 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/1.087, allocations: 9.828 kB / 1.324 GB, free: 5.621 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/1.087, allocations: 96.95 kB / 1.324 GB, free: 5.57 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/1.087, allocations: 105.1 kB / 1.324 GB, free: 5.492 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.76e-05/1.088, allocations: 23.88 kB / 1.324 GB, free: 5.492 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/1.088, allocations: 44.81 kB / 1.324 GB, free: 5.477 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.801e-05/1.088, allocations: 31.38 kB / 1.324 GB, free: 5.453 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001201/1.088, allocations: 86.7 kB / 1.324 GB, free: 5.395 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003061/1.088, allocations: 228.2 kB / 1.325 GB, free: 5.223 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/1.088, allocations: 1.469 kB / 1.325 GB, free: 5.223 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.563e-06/1.088, allocations: 4 kB / 1.325 GB, free: 5.219 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.286e-05/1.088, allocations: 0 / 1.325 GB, free: 5.219 MB / 1.014 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.0008252/1.089, allocations: 0.4901 MB / 1.325 GB, free: 4.723 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/1.089, allocations: 14.55 kB / 1.325 GB, free: 4.719 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.585e-05/1.089, allocations: 1.406 kB / 1.325 GB, free: 4.719 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.359e-05/1.089, allocations: 41.64 kB / 1.325 GB, free: 4.672 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.002e-05/1.089, allocations: 21.25 kB / 1.325 GB, free: 4.664 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006276/1.09, allocations: 262.2 kB / 1.325 GB, free: 4.402 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.87e-05/1.09, allocations: 8.781 kB / 1.325 GB, free: 4.402 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.331e-05/1.09, allocations: 24.8 kB / 1.325 GB, free: 4.395 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002678/1.09, allocations: 130.3 kB / 1.326 GB, free: 4.293 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/1.09, allocations: 1.812 kB / 1.326 GB, free: 4.293 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/1.09, allocations: 9.578 kB / 1.326 GB, free: 4.285 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/1.09, allocations: 5.5 kB / 1.326 GB, free: 4.281 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/1.09, allocations: 62.89 kB / 1.326 GB, free: 4.25 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008531/1.091, allocations: 0.5117 MB / 1.326 GB, free: 3.75 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002805/1.091, allocations: 135.9 kB / 1.326 GB, free: 3.652 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.903e-05/1.091, allocations: 51.25 kB / 1.326 GB, free: 3.617 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/1.091, allocations: 0 / 1.326 GB, free: 3.617 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004004/1.092, allocations: 214.7 kB / 1.327 GB, free: 3.457 MB / 1.014 GB Notification: Performance of pre-optimization done (n=22): time 1.753e-06/1.092, allocations: 0 / 1.327 GB, free: 3.457 MB / 1.014 GB Notification: Performance of matching and sorting (n=22): time 0.0006278/1.093, allocations: 312.8 kB / 1.327 GB, free: 3.309 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.82e-05/1.093, allocations: 89.03 kB / 1.327 GB, free: 3.207 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/1.093, allocations: 130.7 kB / 1.327 GB, free: 3.09 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.925e-05/1.093, allocations: 44.83 kB / 1.327 GB, free: 3.047 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.908e-05/1.093, allocations: 93.94 kB / 1.327 GB, free: 2.953 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.034e-05/1.093, allocations: 60.33 kB / 1.327 GB, free: 2.902 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/1.093, allocations: 67.03 kB / 1.327 GB, free: 2.863 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001395/1.093, allocations: 329.6 kB / 1.328 GB, free: 2.535 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/1.093, allocations: 91 kB / 1.328 GB, free: 2.488 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00024/1.094, allocations: 150.1 kB / 1.328 GB, free: 2.367 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003384/1.094, allocations: 242.9 kB / 1.328 GB, free: 2.164 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/1.094, allocations: 8.812 kB / 1.328 GB, free: 2.156 MB / 1.014 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006216/1.095, allocations: 354.8 kB / 1.328 GB, free: 1.945 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.342e-05/1.095, allocations: 70.8 kB / 1.328 GB, free: 1.875 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/1.095, allocations: 2.219 kB / 1.328 GB, free: 1.875 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/1.095, allocations: 11.88 kB / 1.328 GB, free: 1.867 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/1.095, allocations: 19.45 kB / 1.328 GB, free: 1.859 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/1.095, allocations: 3.406 kB / 1.328 GB, free: 1.859 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003877/1.095, allocations: 64.3 kB / 1.329 GB, free: 1.832 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.123e-05/1.095, allocations: 25.48 kB / 1.329 GB, free: 1.82 MB / 1.014 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.0001648/1.095, allocations: 147.2 kB / 1.329 GB, free: 1.684 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/1.095, allocations: 15.66 kB / 1.329 GB, free: 1.676 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.515e-05/1.095, allocations: 15 kB / 1.329 GB, free: 1.66 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/1.095, allocations: 14.72 kB / 1.329 GB, free: 1.648 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/1.095, allocations: 0 / 1.329 GB, free: 1.648 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/1.095, allocations: 1.219 kB / 1.329 GB, free: 1.648 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007185/1.096, allocations: 0.609 MB / 1.329 GB, free: 1.133 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/1.096, allocations: 1.094 kB / 1.329 GB, free: 1.133 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-05/1.096, allocations: 21.42 kB / 1.329 GB, free: 1.117 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/1.096, allocations: 2.5 kB / 1.329 GB, free: 1.117 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/1.096, allocations: 11.08 kB / 1.329 GB, free: 1.109 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/1.096, allocations: 1.062 kB / 1.329 GB, free: 1.109 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/1.096, allocations: 1.25 kB / 1.329 GB, free: 1.109 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004595/1.097, allocations: 414.5 kB / 1.33 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.18e-05/1.097, allocations: 94.14 kB / 1.33 GB, free: 0.707 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.603e-05/1.097, allocations: 15.5 kB / 1.33 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/1.097, allocations: 13.55 kB / 1.33 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.366e-05/1.097, allocations: 25.36 kB / 1.33 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/1.097, allocations: 9.156 kB / 1.33 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.28e-05/1.097, allocations: 97.48 kB / 1.33 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/1.097, allocations: 0 / 1.33 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003591/1.097, allocations: 54.48 kB / 1.33 GB, free: 0.5781 MB / 1.014 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.0008626/1.098, allocations: 0.9695 MB / 1.331 GB, free: 15.73 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005221/1.099, allocations: 317 kB / 1.331 GB, free: 15.52 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.099, allocations: 448 / 1.331 GB, free: 15.52 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001541/1.099, allocations: 84.55 kB / 1.331 GB, free: 15.48 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/1.099, allocations: 32.45 kB / 1.331 GB, free: 15.46 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002851/1.102, allocations: 2.299 MB / 1.334 GB, free: 13.54 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/1.103, allocations: 0.7005 MB / 1.334 GB, free: 12.83 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.384e-05/1.103, allocations: 22.78 kB / 1.334 GB, free: 12.82 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.518e-05/1.103, allocations: 37.84 kB / 1.334 GB, free: 12.79 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/1.103, allocations: 0 / 1.334 GB, free: 12.79 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02219/1.125, allocations: 4.169 MB / 1.339 GB, free: 10.64 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.383/9.508, allocations: 12.06 kB / 1.339 GB, free: 10.64 MB / 1.029 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.178365939005744] Failed to read output from testmodel.py, exit status != 0: 9.636555751960259 9.652867737 8.56140873 Calling exit ...