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.001447/0.001447, allocations: 113 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.001608/0.001608, allocations: 213.6 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.529/1.529, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.784/2.784, allocations: 476.7 MB / 0.7714 GB, free: 4.281 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.002019/0.002019, allocations: 65.88 kB / 1.118 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3348, allocations: 169.9 MB / 1.284 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001994/0.3368, allocations: 0.7559 MB / 1.285 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00161/0.3385, allocations: 1.184 MB / 1.286 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.524e-05/0.3385, allocations: 0 / 1.286 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.696e-05/0.3385, allocations: 11.92 kB / 1.286 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.92e-05/0.3386, allocations: 15.88 kB / 1.286 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004886/0.3391, allocations: 132.2 kB / 1.286 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001928/0.3393, allocations: 123.8 kB / 1.286 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.474e-05/0.3394, allocations: 8 kB / 1.286 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.752e-05/0.3395, allocations: 51.89 kB / 1.286 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.974e-05/0.3396, allocations: 39.89 kB / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.643e-05/0.3396, allocations: 12 kB / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.464e-05/0.3397, allocations: 27.98 kB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.332e-05/0.3397, allocations: 11.92 kB / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.17e-05/0.3398, allocations: 47.83 kB / 1.287 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.34, allocations: 111.2 kB / 1.287 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.34, allocations: 3.938 kB / 1.287 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.032e-06/0.34, allocations: 0 / 1.287 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.34, allocations: 0 / 1.287 GB, free: 9.207 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.0005649/0.3405, allocations: 335.8 kB / 1.287 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.3406, allocations: 16.03 kB / 1.287 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.392e-05/0.3406, allocations: 192 / 1.287 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.077e-05/0.3406, allocations: 30.75 kB / 1.287 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.774e-05/0.3407, allocations: 12.89 kB / 1.287 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.3408, allocations: 122.4 kB / 1.287 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.3408, allocations: 8.375 kB / 1.287 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.3408, allocations: 4.375 kB / 1.287 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.341, allocations: 73.95 kB / 1.287 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-06/0.341, allocations: 0 / 1.287 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.341, allocations: 4 kB / 1.287 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.341, allocations: 0 / 1.287 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00018/0.3412, allocations: 47.89 kB / 1.287 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004784/0.3417, allocations: 295.8 kB / 1.288 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.3419, allocations: 58.55 kB / 1.288 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.342, allocations: 36.95 kB / 1.288 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.342, allocations: 0 / 1.288 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002497/0.3423, allocations: 87.31 kB / 1.288 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.3423, allocations: 0 / 1.288 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0004575/0.3427, allocations: 145.9 kB / 1.288 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.3428, allocations: 51.41 kB / 1.288 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.3429, allocations: 125.7 kB / 1.288 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.495e-05/0.3429, allocations: 33.69 kB / 1.288 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.389e-05/0.343, allocations: 88.14 kB / 1.288 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.343, allocations: 19.84 kB / 1.288 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.21e-05/0.3431, allocations: 49.62 kB / 1.288 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.3432, allocations: 314.8 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.3434, allocations: 59.89 kB / 1.289 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.3436, allocations: 84.25 kB / 1.289 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003004/0.3439, allocations: 146 kB / 1.289 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3439, allocations: 0 / 1.289 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004928/0.3444, allocations: 219.2 kB / 1.289 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.202e-05/0.3444, allocations: 33.7 kB / 1.289 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.3444, allocations: 0 / 1.289 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.3444, allocations: 4 kB / 1.289 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.234e-05/0.3445, allocations: 11.98 kB / 1.289 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.3445, allocations: 0 / 1.289 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.3447, allocations: 43.84 kB / 1.289 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.3448, allocations: 8.031 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: 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.0001165/0.3449, allocations: 125.8 kB / 1.289 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.3449, allocations: 7.953 kB / 1.289 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.303e-05/0.3449, allocations: 12.38 kB / 1.289 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3449, allocations: 0 / 1.289 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3449, allocations: 0 / 1.289 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3449, allocations: 0 / 1.289 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000497/0.3454, allocations: 353.5 kB / 1.29 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3454, allocations: 4 kB / 1.29 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.605e-05/0.3455, allocations: 7.984 kB / 1.29 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3455, allocations: 0 / 1.29 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.3455, allocations: 0 / 1.29 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.3455, allocations: 4.062 kB / 1.29 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.3455, allocations: 7.938 kB / 1.29 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003244/0.3458, allocations: 211.4 kB / 1.29 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.531e-05/0.3458, allocations: 15.89 kB / 1.29 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.3459, allocations: 0 / 1.29 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.701e-05/0.346, allocations: 7.984 kB / 1.29 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.669e-05/0.346, allocations: 15.86 kB / 1.29 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.597e-06/0.346, allocations: 4 kB / 1.29 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.969e-05/0.3461, allocations: 91.27 kB / 1.29 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3461, allocations: 0 / 1.29 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002597/0.3463, allocations: 24 kB / 1.29 GB, free: 5.484 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: 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.0006869/0.347, allocations: 0.7412 MB / 1.291 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004157/0.3474, allocations: 175.2 kB / 1.291 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3474, allocations: 0 / 1.291 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.3476, allocations: 31.97 kB / 1.291 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.3479, allocations: 26.75 kB / 1.291 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/0.3501, allocations: 1.691 MB / 1.293 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.3504, allocations: 0.6885 MB / 1.293 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.614e-05/0.3504, allocations: 4 kB / 1.293 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.321e-05/0.3505, allocations: 23.42 kB / 1.293 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of SimCode: time 6.51e-07/0.3505, allocations: 0 / 1.293 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02383/0.3743, allocations: 2.727 MB / 1.296 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.5, allocations: 10.95 kB / 1.296 GB, free: 15.36 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.31931498303311] Failed to read output from testmodel.py, exit status != 0: 12.202684308984317 11.686259511 11.341837287 Calling exit ...