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.001345/0.001345, 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.001434/0.001434, allocations: 220.1 kB / 23.03 MB, free: 4.941 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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.757/2.757, allocations: 476.8 MB / 0.7715 GB, free: 3.906 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.001941/0.001941, allocations: 65.27 kB / 1.118 GB, free: 39.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.3029, allocations: 170 MB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.002004/0.3049, allocations: 0.7131 MB / 1.285 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001572/0.3065, allocations: 1.196 MB / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.826e-05/0.3066, allocations: 4 kB / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.021e-05/0.3066, allocations: 3.938 kB / 1.286 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.991e-05/0.3067, allocations: 19.8 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005218/0.3072, allocations: 148.4 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.3074, allocations: 115.8 kB / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.807e-05/0.3074, allocations: 9.406 kB / 1.286 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.3075, allocations: 55.83 kB / 1.286 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.753e-05/0.3076, allocations: 43.83 kB / 1.286 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.759e-05/0.3077, allocations: 12 kB / 1.286 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.289e-05/0.3077, allocations: 27.98 kB / 1.286 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.586e-05/0.3078, allocations: 15.91 kB / 1.286 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.187e-05/0.3078, allocations: 35.92 kB / 1.286 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.308, allocations: 123.2 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.308, allocations: 0 / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.052e-06/0.308, allocations: 0 / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.308, allocations: 0 / 1.287 GB, free: 8.117 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.0005749/0.3086, allocations: 335.8 kB / 1.287 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.3086, allocations: 8.031 kB / 1.287 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.819e-05/0.3087, allocations: 192 / 1.287 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.423e-05/0.3087, allocations: 42.73 kB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.479e-05/0.3088, allocations: 8.938 kB / 1.287 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.895e-05/0.3089, allocations: 122.4 kB / 1.287 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.3089, allocations: 8.359 kB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.3089, allocations: 4.375 kB / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.3091, allocations: 69.97 kB / 1.287 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.3091, allocations: 0 / 1.287 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.3091, allocations: 4 kB / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.3091, allocations: 4 kB / 1.287 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/0.3093, allocations: 35.95 kB / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004706/0.3098, allocations: 283.8 kB / 1.287 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.31, allocations: 46.55 kB / 1.287 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.706e-05/0.3101, allocations: 24.94 kB / 1.287 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.3101, allocations: 4 kB / 1.287 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002632/0.3103, allocations: 91.42 kB / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.3103, allocations: 0 / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004453/0.3108, allocations: 149.4 kB / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.3108, allocations: 51.41 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.704e-05/0.3109, allocations: 117.8 kB / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.311, allocations: 29.7 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.78e-05/0.311, allocations: 88.14 kB / 1.288 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.3111, allocations: 23.78 kB / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.743e-05/0.3111, allocations: 33.7 kB / 1.288 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.3113, allocations: 322.8 kB / 1.288 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/0.3115, allocations: 85.66 kB / 1.288 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001915/0.3117, allocations: 105 kB / 1.289 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002802/0.312, allocations: 137 kB / 1.289 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.312, allocations: 4 kB / 1.289 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004656/0.3124, allocations: 225 kB / 1.289 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.981e-05/0.3125, allocations: 37.69 kB / 1.289 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.3125, allocations: 0 / 1.289 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.3125, allocations: 4 kB / 1.289 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.482e-05/0.3126, allocations: 8 kB / 1.289 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.3126, allocations: 3.984 kB / 1.289 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.3128, allocations: 35.92 kB / 1.289 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.705e-05/0.3128, allocations: 11.98 kB / 1.289 GB, free: 5.34 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.0001084/0.3129, allocations: 125.8 kB / 1.289 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.562e-05/0.3129, allocations: 4 kB / 1.289 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003111/0.3133, allocations: 114 kB / 1.289 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.657e-06/0.3133, allocations: 4 kB / 1.289 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3133, allocations: 3.984 kB / 1.289 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3133, allocations: 0 / 1.289 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004401/0.3137, allocations: 333.5 kB / 1.29 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.3137, allocations: 0 / 1.29 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.531e-05/0.3138, allocations: 12.08 kB / 1.29 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.3138, allocations: 3.984 kB / 1.29 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.3138, allocations: 0 / 1.29 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3138, allocations: 0 / 1.29 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.3138, allocations: 7.875 kB / 1.29 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003112/0.3141, allocations: 203.9 kB / 1.29 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.141e-05/0.3141, allocations: 7.953 kB / 1.29 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.3141, allocations: 4 kB / 1.29 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.395e-05/0.3142, allocations: 11.98 kB / 1.29 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.3143, allocations: 7.938 kB / 1.29 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.3143, allocations: 3.984 kB / 1.29 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.699e-05/0.3143, allocations: 91.69 kB / 1.29 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3143, allocations: 0 / 1.29 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002671/0.3146, allocations: 27.94 kB / 1.29 GB, free: 4.309 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.0006583/0.3153, allocations: 0.7476 MB / 1.291 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003904/0.3156, allocations: 185 kB / 1.291 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3156, allocations: 0 / 1.291 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.3158, allocations: 35.91 kB / 1.291 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.316, allocations: 15.92 kB / 1.291 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/0.3183, allocations: 1.762 MB / 1.293 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.95e-05/0.3184, allocations: 75.48 kB / 1.293 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.066e-05/0.3184, allocations: 4 kB / 1.293 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.365e-05/0.3184, allocations: 27.38 kB / 1.293 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.3184, allocations: 0 / 1.293 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02321/0.3417, allocations: 2.726 MB / 1.295 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.8, allocations: 8.047 kB / 1.295 GB, free: 14.71 MB / 0.9981 GB " [Timeout remaining time 288] (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.33729910000693] Failed to read output from testmodel.py, exit status != 0: 12.475368798943236 11.979869691 11.668521482 Calling exit ...