Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.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.001821/0.001821, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002289/0.002289, allocations: 217 kB / 23.04 MB, free: 5.074 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.965 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.894/2.894, allocations: 476.8 MB / 0.7715 GB, free: 4.23 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.Discrete.Validation.TriggeredMax,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredMax",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredMax",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.001987/0.001987, allocations: 61.61 kB / 1.118 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3614, allocations: 169.9 MB / 1.284 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.002517/0.3639, allocations: 0.7418 MB / 1.285 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002216/0.3661, allocations: 1.235 MB / 1.286 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.028e-05/0.3662, allocations: 0 / 1.286 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.318e-05/0.3662, allocations: 3.938 kB / 1.286 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.489e-05/0.3663, allocations: 19.86 kB / 1.286 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006789/0.367, allocations: 136.2 kB / 1.286 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000225/0.3672, allocations: 127.7 kB / 1.286 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.428e-05/0.3673, allocations: 11.98 kB / 1.286 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.3674, allocations: 47.91 kB / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.3675, allocations: 47.81 kB / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.565e-05/0.3676, allocations: 12 kB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.478e-05/0.3677, allocations: 27.98 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.172e-05/0.3677, allocations: 15.98 kB / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.747e-05/0.3678, allocations: 39.84 kB / 1.287 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002374/0.368, allocations: 116.3 kB / 1.287 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.368, allocations: 0 / 1.287 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.243e-06/0.368, allocations: 4 kB / 1.287 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.381e-06/0.368, allocations: 0 / 1.287 GB, free: 9.129 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.0006838/0.3687, allocations: 331.8 kB / 1.287 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.3688, allocations: 12.03 kB / 1.287 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.246e-05/0.3688, allocations: 192 / 1.287 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.343e-05/0.3688, allocations: 38.73 kB / 1.287 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.3689, allocations: 12.88 kB / 1.287 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.3691, allocations: 114.4 kB / 1.287 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.3691, allocations: 4.375 kB / 1.287 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.3691, allocations: 12.38 kB / 1.287 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002594/0.3694, allocations: 69.95 kB / 1.287 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.3694, allocations: 0 / 1.287 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.3694, allocations: 7.984 kB / 1.287 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.3694, allocations: 0 / 1.287 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002617/0.3697, allocations: 39.91 kB / 1.287 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00061/0.3703, allocations: 299.7 kB / 1.288 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.3705, allocations: 50.55 kB / 1.288 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.3706, allocations: 28.92 kB / 1.288 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.3707, allocations: 0 / 1.288 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003528/0.371, allocations: 95.3 kB / 1.288 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 4.198e-06/0.371, allocations: 3.984 kB / 1.288 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0006359/0.3717, allocations: 137.6 kB / 1.288 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.586e-05/0.3717, allocations: 55.34 kB / 1.288 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.3718, allocations: 113.8 kB / 1.288 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.244e-05/0.3719, allocations: 37.69 kB / 1.288 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.223e-05/0.372, allocations: 88.14 kB / 1.288 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/0.372, allocations: 15.86 kB / 1.288 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.3721, allocations: 33.7 kB / 1.288 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002014/0.3723, allocations: 326.7 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002463/0.3726, allocations: 51.95 kB / 1.289 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/0.3728, allocations: 75.41 kB / 1.289 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003819/0.3732, allocations: 133 kB / 1.289 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3732, allocations: 0 / 1.289 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000628/0.3738, allocations: 199.2 kB / 1.289 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.486e-05/0.3739, allocations: 33.7 kB / 1.289 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.3739, allocations: 0 / 1.289 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.3739, allocations: 4.469 kB / 1.289 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.374, allocations: 11.98 kB / 1.289 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.374, allocations: 3.938 kB / 1.289 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002963/0.3743, allocations: 43.84 kB / 1.289 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.929e-05/0.3744, allocations: 12.06 kB / 1.289 GB, free: 6.438 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition3,booPul.y,$PRE.booPul.y,$whenCondition1,triggeredMax.y,$PRE.triggeredMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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.0001788/0.3745, allocations: 126.6 kB / 1.289 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.3746, allocations: 7.953 kB / 1.289 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004231/0.375, allocations: 114 kB / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.375, allocations: 3.938 kB / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.375, allocations: 4 kB / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.375, allocations: 0 / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006071/0.3756, allocations: 333.6 kB / 1.29 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3756, allocations: 0 / 1.29 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.108e-05/0.3757, allocations: 7.984 kB / 1.29 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3757, allocations: 4 kB / 1.29 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.3757, allocations: 0 / 1.29 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.3757, allocations: 0 / 1.29 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.3757, allocations: 3.938 kB / 1.29 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004373/0.3762, allocations: 211.3 kB / 1.29 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.012e-05/0.3762, allocations: 11.98 kB / 1.29 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.3762, allocations: 0 / 1.29 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.3764, allocations: 8 kB / 1.29 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.943e-05/0.3764, allocations: 7.922 kB / 1.29 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.3764, allocations: 4 kB / 1.29 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.384e-05/0.3765, allocations: 95.27 kB / 1.29 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3765, allocations: 0 / 1.29 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004284/0.3769, allocations: 24 kB / 1.29 GB, free: 5.406 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition3,$whenCondition1,triggeredMax.y,booPul.y) * Number of discrete states: 1 (triggeredMax.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0007588/0.3777, allocations: 0.7441 MB / 1.291 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003818/0.3781, allocations: 159.2 kB / 1.291 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3781, allocations: 0 / 1.291 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.3782, allocations: 31.98 kB / 1.291 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.3786, allocations: 22.48 kB / 1.291 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002681/0.3812, allocations: 1.628 MB / 1.292 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.3816, allocations: 0.6924 MB / 1.293 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.134e-05/0.3816, allocations: 0 / 1.293 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.402e-05/0.3816, allocations: 23.42 kB / 1.293 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.3816, allocations: 3.938 kB / 1.293 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02914/0.4108, allocations: 2.62 MB / 1.296 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.14, allocations: 10.53 kB / 1.296 GB, free: 15.48 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredMax_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredMax.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.794219920993783] Failed to read output from testmodel.py, exit status != 0: 12.755851976049598 12.326683581 11.955346419 Calling exit ...