Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001808/0.001808, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002451/0.002451, allocations: 213.6 kB / 23.03 MB, free: 4.922 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.127/3.127, allocations: 0.49 GB / 0.7959 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 177] 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.Discrete.Validation.TriggeredMax,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredMax",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,fileNamePrefix="Buildings_12_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.002064/0.002064, allocations: 68.16 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.338, allocations: 176.1 MB / 1.327 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.00217/0.3402, allocations: 0.7044 MB / 1.327 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001925/0.3421, allocations: 1.225 MB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.827e-05/0.3422, allocations: 0 / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.976e-05/0.3422, allocations: 3.938 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.276e-05/0.3423, allocations: 7.938 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006311/0.343, allocations: 147 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002202/0.3432, allocations: 115.8 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.3433, allocations: 15.97 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.3434, allocations: 47.91 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.3435, allocations: 51.81 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.744e-05/0.3436, allocations: 12 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.081e-05/0.3437, allocations: 23.98 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.412e-05/0.3437, allocations: 11.94 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.069e-05/0.3438, allocations: 39.84 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.344, allocations: 115.9 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.344, allocations: 0 / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.182e-06/0.344, allocations: 0 / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.344, allocations: 0 / 1.329 GB, free: 14.98 MB / 1.029 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.0006869/0.3447, allocations: 345.5 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.3447, allocations: 12.03 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.71e-05/0.3447, allocations: 192 / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.611e-05/0.3448, allocations: 38.75 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.3449, allocations: 12.86 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.345, allocations: 114.4 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.3451, allocations: 4.375 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.3451, allocations: 8.375 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.3453, allocations: 73.91 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/0.3453, allocations: 4 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.3453, allocations: 0 / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3453, allocations: 0 / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.3455, allocations: 43.95 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004905/0.346, allocations: 279.8 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.3462, allocations: 54.47 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.3463, allocations: 32.92 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.3463, allocations: 0 / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002646/0.3466, allocations: 87.36 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.3466, allocations: 0 / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0004446/0.347, allocations: 137.5 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.3471, allocations: 51.41 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.946e-05/0.3472, allocations: 113.8 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.3472, allocations: 34.08 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.74e-05/0.3473, allocations: 96.19 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.3473, allocations: 19.8 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.854e-05/0.3474, allocations: 33.7 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.3475, allocations: 326.7 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.3477, allocations: 81.66 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.3479, allocations: 105.1 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002822/0.3482, allocations: 129 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3482, allocations: 0 / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005066/0.3487, allocations: 228.9 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.908e-05/0.3488, allocations: 43.41 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3488, allocations: 0 / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.3488, allocations: 0 / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.3489, allocations: 15.98 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.3489, allocations: 8 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.3491, allocations: 35.91 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-05/0.3491, allocations: 8 kB / 1.332 GB, free: 12.2 MB / 1.029 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.000108/0.3492, allocations: 123.2 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.769e-05/0.3493, allocations: 7.953 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003602/0.3496, allocations: 113.9 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3496, allocations: 4 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.3496, allocations: 4 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3496, allocations: 0 / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004677/0.3501, allocations: 325.6 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.3501, allocations: 7.938 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.38e-05/0.3502, allocations: 11.98 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3502, allocations: 0 / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.3502, allocations: 4 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3502, allocations: 4 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.3502, allocations: 3.938 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003138/0.3505, allocations: 203.4 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.121e-05/0.3505, allocations: 4 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.3505, allocations: 0 / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.452e-05/0.3506, allocations: 11.98 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.184e-05/0.3507, allocations: 11.92 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.3507, allocations: 0 / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.806e-05/0.3507, allocations: 99.23 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3507, allocations: 4 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002682/0.351, allocations: 23.94 kB / 1.332 GB, free: 11.17 MB / 1.029 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.000668/0.3517, allocations: 0.7364 MB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003989/0.3521, allocations: 185 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.3521, allocations: 4 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.3522, allocations: 44.03 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.3525, allocations: 11.92 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002299/0.3548, allocations: 1.765 MB / 1.335 GB, free: 8.254 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.495e-05/0.3549, allocations: 68.28 kB / 1.335 GB, free: 8.168 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.774e-05/0.3549, allocations: 7.984 kB / 1.335 GB, free: 8.16 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.101e-05/0.355, allocations: 23.42 kB / 1.335 GB, free: 8.137 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.355, allocations: 0 / 1.335 GB, free: 8.137 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02373/0.3787, allocations: 2.743 MB / 1.338 GB, free: 5.578 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.94, allocations: 8.062 kB / 1.338 GB, free: 5.57 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredMax_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredMax.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.518334566964768] Failed to read output from testmodel.py, exit status != 0: 12.112499815993942 12.128225173 11.781177707 Calling exit ...