Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.00133/0.00133, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001425/0.001425, allocations: 216.4 kB / 23.03 MB, free: 4.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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 7.77 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.734/2.734, allocations: 476.8 MB / 0.7715 GB, free: 3.898 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.Change,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Change",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.002038/0.002038, allocations: 68.67 kB / 1.118 GB, free: 8.758 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3562, allocations: 169.9 MB / 1.284 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002131/0.3583, allocations: 0.7364 MB / 1.285 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001695/0.36, allocations: 1.16 MB / 1.286 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.103e-05/0.3601, allocations: 0 / 1.286 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.848e-05/0.3601, allocations: 7.875 kB / 1.286 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.823e-05/0.3602, allocations: 19.86 kB / 1.286 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006591/0.3609, allocations: 131.3 kB / 1.286 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002121/0.3611, allocations: 115.8 kB / 1.286 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.3612, allocations: 19.97 kB / 1.286 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.3613, allocations: 47.91 kB / 1.286 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.3614, allocations: 47.81 kB / 1.286 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.24e-05/0.3615, allocations: 8 kB / 1.286 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.462e-05/0.3615, allocations: 27.98 kB / 1.286 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.829e-05/0.3616, allocations: 8 kB / 1.286 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.685e-05/0.3617, allocations: 39.84 kB / 1.286 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.3619, allocations: 119.8 kB / 1.287 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3619, allocations: 0 / 1.287 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.003e-06/0.3619, allocations: 0 / 1.287 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.523e-06/0.3619, allocations: 0 / 1.287 GB, free: 0.8984 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006589/0.3626, allocations: 335.8 kB / 1.287 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.3626, allocations: 12.03 kB / 1.287 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.907e-05/0.3626, allocations: 192 / 1.287 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.547e-05/0.3627, allocations: 38.75 kB / 1.287 GB, free: 484 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.784e-05/0.3627, allocations: 20.86 kB / 1.287 GB, free: 464 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.3628, allocations: 114.4 kB / 1.287 GB, free: 324 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.3628, allocations: 4.375 kB / 1.287 GB, free: 320 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.3629, allocations: 4.375 kB / 1.287 GB, free: 316 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/0.3631, allocations: 73.91 kB / 1.287 GB, free: 236 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.3631, allocations: 0 / 1.287 GB, free: 236 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.3631, allocations: 0 / 1.287 GB, free: 236 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3631, allocations: 0 / 1.287 GB, free: 236 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/0.3633, allocations: 47.95 kB / 1.287 GB, free: 188 kB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005376/0.3639, allocations: 279.9 kB / 1.287 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.364, allocations: 54.55 kB / 1.287 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.3642, allocations: 36.95 kB / 1.287 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.3642, allocations: 0 / 1.287 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002866/0.3645, allocations: 91.3 kB / 1.288 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.643e-06/0.3645, allocations: 4 kB / 1.288 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0004683/0.3649, allocations: 137.5 kB / 1.288 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/0.365, allocations: 55.41 kB / 1.288 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.3651, allocations: 125.7 kB / 1.288 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.423e-05/0.3651, allocations: 33.7 kB / 1.288 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.014e-05/0.3652, allocations: 88.14 kB / 1.288 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/0.3652, allocations: 27.89 kB / 1.288 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.177e-05/0.3653, allocations: 41.7 kB / 1.288 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3655, allocations: 326.8 kB / 1.288 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.3657, allocations: 81.67 kB / 1.288 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002275/0.3659, allocations: 114 kB / 1.289 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002917/0.3662, allocations: 145.9 kB / 1.289 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3662, allocations: 0 / 1.289 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004989/0.3667, allocations: 240.8 kB / 1.289 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.402e-05/0.3667, allocations: 37.69 kB / 1.289 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.3667, allocations: 0 / 1.289 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.3667, allocations: 4 kB / 1.289 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.3669, allocations: 11.94 kB / 1.289 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.3669, allocations: 8.109 kB / 1.289 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/0.3671, allocations: 39.86 kB / 1.289 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.3671, allocations: 11.98 kB / 1.289 GB, free: 14.04 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001173/0.3672, allocations: 121.8 kB / 1.289 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.688e-05/0.3672, allocations: 4 kB / 1.289 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.992e-05/0.3673, allocations: 8.375 kB / 1.289 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.3673, allocations: 0 / 1.289 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.3673, allocations: 0 / 1.289 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.3673, allocations: 8 kB / 1.289 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004964/0.3678, allocations: 345.5 kB / 1.29 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.3678, allocations: 0 / 1.29 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.717e-05/0.3678, allocations: 8 kB / 1.29 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.3678, allocations: 3.984 kB / 1.29 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.3679, allocations: 4 kB / 1.29 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3679, allocations: 400 / 1.29 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3679, allocations: 3.938 kB / 1.29 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003257/0.3682, allocations: 215.4 kB / 1.29 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.869e-05/0.3682, allocations: 7.953 kB / 1.29 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.3682, allocations: 4 kB / 1.29 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.757e-05/0.3683, allocations: 11.92 kB / 1.29 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/0.3684, allocations: 11.92 kB / 1.29 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.3684, allocations: 3.984 kB / 1.29 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.272e-05/0.3684, allocations: 91.27 kB / 1.29 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3684, allocations: 3.938 kB / 1.29 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002739/0.3687, allocations: 27.94 kB / 1.29 GB, free: 13.09 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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.000761/0.3695, allocations: 0.7443 MB / 1.291 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004162/0.3699, allocations: 193 kB / 1.291 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3699, allocations: 4 kB / 1.291 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.37, allocations: 28.23 kB / 1.291 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.3703, allocations: 20.11 kB / 1.291 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.3727, allocations: 1.819 MB / 1.293 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.747e-05/0.3727, allocations: 71.59 kB / 1.293 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.705e-05/0.3728, allocations: 7.984 kB / 1.293 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.92e-05/0.3728, allocations: 19.44 kB / 1.293 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/0.3728, allocations: 0 / 1.293 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02388/0.3967, allocations: 2.857 MB / 1.296 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.57, allocations: 6.406 kB / 1.296 GB, free: 7.309 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.248844783985987] Failed to read output from testmodel.py, exit status != 0: 11.738167386967689 11.763054996 11.395918141 Calling exit ...