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.001242/0.001242, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001404/0.001404, allocations: 218.3 kB / 23.04 MB, free: 5.078 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.181/3.181, allocations: 0.49 GB / 0.7959 GB, free: 33.36 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.002048/0.002048, allocations: 75.38 kB / 1.155 GB, free: 25.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3367, allocations: 176.1 MB / 1.327 GB, free: 1.988 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.002089/0.3388, allocations: 0.7276 MB / 1.327 GB, free: 1.266 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002/0.3408, allocations: 1.244 MB / 1.329 GB, free: 8 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.045e-05/0.3409, allocations: 4 kB / 1.329 GB, free: 4 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.223e-05/0.3409, allocations: 3.938 kB / 1.329 GB, free: 0 / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.935e-05/0.341, allocations: 11.97 kB / 1.329 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005588/0.3415, allocations: 142.3 kB / 1.329 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002195/0.3418, allocations: 119.8 kB / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.634e-05/0.3418, allocations: 19.75 kB / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.815e-05/0.3419, allocations: 43.92 kB / 1.329 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.342, allocations: 55.8 kB / 1.329 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.3421, allocations: 12 kB / 1.329 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.226e-05/0.3421, allocations: 27.98 kB / 1.329 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.875e-05/0.3422, allocations: 4 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.997e-05/0.3422, allocations: 51.83 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.3424, allocations: 107.9 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.3424, allocations: 0 / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3424, allocations: 4 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.3424, allocations: 0 / 1.329 GB, free: 15.41 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.0005947/0.343, allocations: 343.8 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.3431, allocations: 8.031 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.229e-05/0.3431, allocations: 192 / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.54e-05/0.3431, allocations: 38.73 kB / 1.33 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.182e-05/0.3432, allocations: 4.938 kB / 1.33 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.3433, allocations: 122.4 kB / 1.33 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.3433, allocations: 4.375 kB / 1.33 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/0.3434, allocations: 8.375 kB / 1.33 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/0.3436, allocations: 73.95 kB / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.3436, allocations: 0 / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.3436, allocations: 0 / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.3436, allocations: 4 kB / 1.33 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/0.3438, allocations: 39.95 kB / 1.33 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004865/0.3443, allocations: 299.7 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.3444, allocations: 50.55 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.3445, allocations: 28.92 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.3446, allocations: 0 / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002711/0.3448, allocations: 95.3 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.3448, allocations: 0 / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0004652/0.3453, allocations: 137.6 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.621e-05/0.3454, allocations: 55.41 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.3455, allocations: 117.7 kB / 1.331 GB, free: 13.84 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/0.3455, allocations: 29.7 kB / 1.331 GB, free: 13.8 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.032e-05/0.3456, allocations: 92.12 kB / 1.331 GB, free: 13.71 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.3456, allocations: 23.8 kB / 1.331 GB, free: 13.69 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.505e-05/0.3457, allocations: 33.7 kB / 1.331 GB, free: 13.65 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3458, allocations: 326.8 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.346, allocations: 43.97 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/0.3462, allocations: 83.27 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000301/0.3465, allocations: 133 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3465, allocations: 4 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004799/0.347, allocations: 191.2 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.832e-05/0.347, allocations: 41.77 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.347, allocations: 320 / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.347, allocations: 0 / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.3471, allocations: 11.98 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.3471, allocations: 4 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.3473, allocations: 35.91 kB / 1.332 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.3474, allocations: 15.92 kB / 1.332 GB, free: 12.72 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.000125/0.3475, allocations: 126.3 kB / 1.332 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.994e-05/0.3475, allocations: 11.94 kB / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003286/0.3478, allocations: 110 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3479, allocations: 0 / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3479, allocations: 0 / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.3479, allocations: 96 / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004779/0.3483, allocations: 333.5 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3483, allocations: 3.984 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.877e-05/0.3484, allocations: 15.98 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3484, allocations: 0 / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.3484, allocations: 0 / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.3484, allocations: 4 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.3484, allocations: 3.938 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.3488, allocations: 211.4 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.007e-05/0.3488, allocations: 11.92 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.3488, allocations: 0 / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.178e-05/0.3489, allocations: 8.469 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/0.3489, allocations: 11.92 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.3489, allocations: 4 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.618e-05/0.349, allocations: 91.2 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.349, allocations: 0 / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003108/0.3493, allocations: 27.94 kB / 1.332 GB, free: 11.68 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.0007255/0.35, allocations: 0.7418 MB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004156/0.3505, allocations: 163.2 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3505, allocations: 0 / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.3506, allocations: 27.98 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.3509, allocations: 19.2 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00234/0.3532, allocations: 1.633 MB / 1.335 GB, free: 8.961 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.3536, allocations: 0.6885 MB / 1.336 GB, free: 8.246 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.554e-05/0.3536, allocations: 8 kB / 1.336 GB, free: 8.238 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.68e-05/0.3537, allocations: 23.42 kB / 1.336 GB, free: 8.215 MB / 1.029 GB Notification: Performance of SimCode: time 5.11e-07/0.3537, allocations: 0 / 1.336 GB, free: 8.215 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02321/0.3769, allocations: 2.617 MB / 1.338 GB, free: 5.758 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.71, allocations: 16.06 kB / 1.338 GB, free: 5.746 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.371495869010687] Failed to read output from testmodel.py, exit status != 0: 11.870491760026198 11.89737978 11.549899071 Calling exit ...