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.001312/0.001312, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001457/0.001457, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.565/1.565, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 3.023/3.023, allocations: 476.7 MB / 0.7678 GB, free: 9.375 MB / 0.6075 GB " [Timeout remaining time 176] 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.002182/0.002182, allocations: 67.91 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.001/1.003, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002086/1.005, allocations: 0.7479 MB / 1.28 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001817/1.007, allocations: 1.19 MB / 1.281 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.046e-05/1.007, allocations: 8.844 kB / 1.281 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.269e-05/1.007, allocations: 4.688 kB / 1.281 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.562e-05/1.007, allocations: 6.797 kB / 1.281 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006035/1.008, allocations: 132.3 kB / 1.281 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000221/1.008, allocations: 114.1 kB / 1.281 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/1.008, allocations: 11.77 kB / 1.281 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/1.008, allocations: 51.86 kB / 1.281 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/1.009, allocations: 46.23 kB / 1.281 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.983e-05/1.009, allocations: 13.69 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.053e-05/1.009, allocations: 25.19 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.783e-05/1.009, allocations: 12.39 kB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.889e-05/1.009, allocations: 43.66 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002712/1.009, allocations: 117.2 kB / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/1.009, allocations: 0.8438 kB / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.984e-06/1.009, allocations: 0 / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.763e-06/1.009, allocations: 1.094 kB / 1.281 GB, free: 10.14 MB / 0.9981 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.0007546/1.01, allocations: 416.3 kB / 1.282 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.979e-05/1.01, allocations: 9.656 kB / 1.282 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.601e-05/1.01, allocations: 1.219 kB / 1.282 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.83e-05/1.01, allocations: 33.7 kB / 1.282 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.229e-05/1.01, allocations: 14.36 kB / 1.282 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/1.01, allocations: 181.6 kB / 1.282 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/1.01, allocations: 7.469 kB / 1.282 GB, free: 9.457 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.735e-05/1.01, allocations: 7.578 kB / 1.282 GB, free: 9.457 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/1.011, allocations: 66.27 kB / 1.282 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/1.011, allocations: 4.609 kB / 1.282 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/1.011, allocations: 1.125 kB / 1.282 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/1.011, allocations: 0.9375 kB / 1.282 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002274/1.011, allocations: 42.25 kB / 1.282 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000702/1.012, allocations: 329.9 kB / 1.282 GB, free: 9.102 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002391/1.012, allocations: 60.39 kB / 1.283 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/1.012, allocations: 30.31 kB / 1.283 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/1.012, allocations: 1.062 kB / 1.283 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003702/1.012, allocations: 91.59 kB / 1.283 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.683e-06/1.012, allocations: 4 kB / 1.283 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0005607/1.013, allocations: 145.5 kB / 1.283 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/1.013, allocations: 53.5 kB / 1.283 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/1.013, allocations: 120.5 kB / 1.283 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/1.013, allocations: 30.03 kB / 1.283 GB, free: 8.719 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.496e-05/1.013, allocations: 89.09 kB / 1.283 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/1.013, allocations: 20.05 kB / 1.283 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.428e-05/1.013, allocations: 38.02 kB / 1.283 GB, free: 8.594 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001745/1.013, allocations: 324.8 kB / 1.283 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/1.014, allocations: 53.66 kB / 1.283 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/1.014, allocations: 83.02 kB / 1.284 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003043/1.014, allocations: 145.8 kB / 1.284 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.014, allocations: 0 / 1.284 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005145/1.015, allocations: 219 kB / 1.284 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.023e-05/1.015, allocations: 40.27 kB / 1.284 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/1.015, allocations: 5.25 kB / 1.284 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/1.015, allocations: 1.312 kB / 1.284 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/1.015, allocations: 11.44 kB / 1.284 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/1.015, allocations: 2.172 kB / 1.284 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000229/1.015, allocations: 38.2 kB / 1.284 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.724e-05/1.015, allocations: 11.92 kB / 1.284 GB, free: 7.93 MB / 0.9981 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.0001448/1.015, allocations: 133.2 kB / 1.284 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.077e-05/1.015, allocations: 10.53 kB / 1.284 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.987e-05/1.015, allocations: 10.64 kB / 1.284 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/1.015, allocations: 1.734 kB / 1.284 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/1.015, allocations: 1.188 kB / 1.284 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/1.015, allocations: 0.9375 kB / 1.284 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006304/1.016, allocations: 373.8 kB / 1.285 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/1.016, allocations: 4.922 kB / 1.285 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.058e-05/1.016, allocations: 12.05 kB / 1.285 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/1.016, allocations: 1.062 kB / 1.285 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/1.016, allocations: 2.203 kB / 1.285 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/1.016, allocations: 0 / 1.285 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/1.016, allocations: 5.219 kB / 1.285 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003882/1.016, allocations: 209.4 kB / 1.285 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-05/1.017, allocations: 82.41 kB / 1.285 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/1.017, allocations: 2.172 kB / 1.285 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.919e-05/1.017, allocations: 9.969 kB / 1.285 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.932e-05/1.017, allocations: 10.42 kB / 1.285 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/1.017, allocations: 2.781 kB / 1.285 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.96e-05/1.017, allocations: 98.8 kB / 1.285 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.017, allocations: 1.156 kB / 1.285 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002916/1.017, allocations: 25.12 kB / 1.285 GB, free: 7.086 MB / 0.9981 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.0007881/1.018, allocations: 0.7525 MB / 1.286 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004623/1.018, allocations: 164 kB / 1.286 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/1.018, allocations: 0 / 1.286 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001459/1.018, allocations: 39.91 kB / 1.286 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/1.019, allocations: 21.12 kB / 1.286 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002525/1.021, allocations: 1.694 MB / 1.288 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/1.022, allocations: 0.686 MB / 1.288 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.077e-05/1.022, allocations: 5.953 kB / 1.288 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.264e-05/1.022, allocations: 21.08 kB / 1.288 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of SimCode: time 3.7e-07/1.022, allocations: 0 / 1.288 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0198/1.042, allocations: 2.605 MB / 1.291 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.346/9.387, allocations: 15.8 kB / 1.291 GB, free: 3.641 MB / 0.9981 GB " [Timeout remaining time 290] (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: 15.914630364975892] Failed to read output from testmodel.py, exit status != 0: 9.513389880012255 9.536811256 8.52253525 Calling exit ...