Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001365/0.001365, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.001351/0.001351, allocations: 215 kB / 20.13 MB, free: 2.949 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.548/1.548, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.041/3.041, allocations: 0.5003 GB / 0.8026 GB, free: 6.707 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_latest_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.001987/0.001987, allocations: 67.91 kB / 1.165 GB, free: 496 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.116/1.118, allocations: 178.9 MB / 1.34 GB, free: 16.44 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001945/1.12, allocations: 0.7605 MB / 1.341 GB, free: 15.94 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001425/1.121, allocations: 1.18 MB / 1.342 GB, free: 15.08 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.161e-05/1.121, allocations: 0 / 1.342 GB, free: 15.08 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.353e-05/1.121, allocations: 5.953 kB / 1.342 GB, free: 15.08 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.183e-05/1.121, allocations: 13.61 kB / 1.342 GB, free: 15.07 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000519/1.122, allocations: 136.6 kB / 1.342 GB, free: 15 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001852/1.122, allocations: 114.2 kB / 1.342 GB, free: 14.95 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/1.122, allocations: 14.61 kB / 1.342 GB, free: 14.94 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.767e-05/1.122, allocations: 44.91 kB / 1.342 GB, free: 14.93 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/1.122, allocations: 53.3 kB / 1.342 GB, free: 14.9 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.79e-05/1.122, allocations: 10.72 kB / 1.342 GB, free: 14.9 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.929e-05/1.122, allocations: 24.28 kB / 1.342 GB, free: 14.89 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.462e-05/1.122, allocations: 13.8 kB / 1.342 GB, free: 14.89 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.05e-05/1.123, allocations: 38.22 kB / 1.342 GB, free: 14.87 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002121/1.123, allocations: 118.1 kB / 1.343 GB, free: 14.82 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/1.123, allocations: 0.75 kB / 1.343 GB, free: 14.82 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.503e-06/1.123, allocations: 4 kB / 1.343 GB, free: 14.82 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.171e-05/1.123, allocations: 0 / 1.343 GB, free: 14.82 MB / 1.061 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.0005959/1.123, allocations: 409.5 kB / 1.343 GB, free: 14.41 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/1.123, allocations: 9.062 kB / 1.343 GB, free: 14.41 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.418e-05/1.123, allocations: 2.672 kB / 1.343 GB, free: 14.41 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.251e-05/1.123, allocations: 33.08 kB / 1.343 GB, free: 14.37 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.691e-05/1.124, allocations: 9.328 kB / 1.343 GB, free: 14.37 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/1.124, allocations: 182.1 kB / 1.343 GB, free: 14.16 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/1.124, allocations: 15.09 kB / 1.343 GB, free: 14.14 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/1.124, allocations: 8.453 kB / 1.343 GB, free: 14.14 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/1.124, allocations: 66.17 kB / 1.343 GB, free: 14.1 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/1.124, allocations: 0 / 1.343 GB, free: 14.1 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/1.124, allocations: 1.75 kB / 1.343 GB, free: 14.1 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/1.124, allocations: 1.656 kB / 1.343 GB, free: 14.1 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001956/1.124, allocations: 41.61 kB / 1.343 GB, free: 14.09 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004625/1.125, allocations: 342.5 kB / 1.344 GB, free: 13.78 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/1.125, allocations: 51.55 kB / 1.344 GB, free: 13.75 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/1.125, allocations: 30.17 kB / 1.344 GB, free: 13.74 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/1.125, allocations: 5.75 kB / 1.344 GB, free: 13.73 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002097/1.125, allocations: 87.67 kB / 1.344 GB, free: 13.68 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/1.125, allocations: 3.938 kB / 1.344 GB, free: 13.67 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0004408/1.126, allocations: 136 kB / 1.344 GB, free: 13.62 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/1.126, allocations: 53.44 kB / 1.344 GB, free: 13.55 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.284e-05/1.126, allocations: 127.3 kB / 1.344 GB, free: 13.44 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/1.126, allocations: 32.45 kB / 1.344 GB, free: 13.41 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.486e-05/1.126, allocations: 88.25 kB / 1.344 GB, free: 13.32 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/1.126, allocations: 21.41 kB / 1.344 GB, free: 13.3 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.492e-05/1.126, allocations: 38.38 kB / 1.344 GB, free: 13.28 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.759e-05/1.126, allocations: 323 kB / 1.345 GB, free: 12.96 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/1.126, allocations: 54.91 kB / 1.345 GB, free: 12.95 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/1.126, allocations: 94.44 kB / 1.345 GB, free: 12.88 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002875/1.126, allocations: 144.6 kB / 1.345 GB, free: 12.78 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.126, allocations: 4.969 kB / 1.345 GB, free: 12.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004743/1.127, allocations: 202.7 kB / 1.345 GB, free: 12.67 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.217e-05/1.127, allocations: 38.75 kB / 1.345 GB, free: 12.64 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/1.127, allocations: 2.188 kB / 1.345 GB, free: 12.64 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/1.127, allocations: 1.625 kB / 1.345 GB, free: 12.64 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/1.127, allocations: 18.92 kB / 1.345 GB, free: 12.63 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/1.127, allocations: 3.109 kB / 1.345 GB, free: 12.63 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/1.127, allocations: 34.22 kB / 1.345 GB, free: 12.62 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-05/1.127, allocations: 17.11 kB / 1.345 GB, free: 12.62 MB / 1.061 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 9.226e-05/1.127, allocations: 125.5 kB / 1.345 GB, free: 12.49 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.75e-05/1.127, allocations: 7.375 kB / 1.345 GB, free: 12.49 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.092e-05/1.128, allocations: 14.17 kB / 1.345 GB, free: 12.48 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/1.128, allocations: 2.078 kB / 1.345 GB, free: 12.48 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.128, allocations: 0 / 1.345 GB, free: 12.48 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/1.128, allocations: 0.6094 kB / 1.345 GB, free: 12.48 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004669/1.128, allocations: 374.3 kB / 1.346 GB, free: 12.14 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/1.128, allocations: 1.406 kB / 1.346 GB, free: 12.14 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.659e-05/1.128, allocations: 11.2 kB / 1.346 GB, free: 12.14 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/1.128, allocations: 6.062 kB / 1.346 GB, free: 12.14 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/1.128, allocations: 4.562 kB / 1.346 GB, free: 12.13 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/1.128, allocations: 6.547 kB / 1.346 GB, free: 12.13 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/1.128, allocations: 3.938 kB / 1.346 GB, free: 12.12 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003061/1.128, allocations: 199.7 kB / 1.346 GB, free: 11.98 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.989e-05/1.128, allocations: 84.53 kB / 1.346 GB, free: 11.88 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/1.128, allocations: 10.11 kB / 1.346 GB, free: 11.87 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.616e-05/1.129, allocations: 5.406 kB / 1.346 GB, free: 11.87 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.365e-05/1.129, allocations: 10.78 kB / 1.346 GB, free: 11.87 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.637e-06/1.129, allocations: 1.891 kB / 1.346 GB, free: 11.87 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.417e-05/1.129, allocations: 96.94 kB / 1.346 GB, free: 11.79 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/1.129, allocations: 0 / 1.346 GB, free: 11.79 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000269/1.129, allocations: 23.95 kB / 1.346 GB, free: 11.78 MB / 1.061 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.0005571/1.129, allocations: 0.7476 MB / 1.347 GB, free: 11.09 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003926/1.13, allocations: 164.7 kB / 1.347 GB, free: 11 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/1.13, allocations: 0 / 1.347 GB, free: 11 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001324/1.13, allocations: 39.86 kB / 1.347 GB, free: 10.99 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/1.13, allocations: 14.77 kB / 1.347 GB, free: 10.98 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/1.132, allocations: 1.704 MB / 1.349 GB, free: 9.539 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/1.132, allocations: 0.6868 MB / 1.349 GB, free: 8.844 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.073e-05/1.132, allocations: 9.266 kB / 1.349 GB, free: 8.84 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.325e-05/1.132, allocations: 20.86 kB / 1.349 GB, free: 8.824 MB / 1.061 GB Notification: Performance of SimCode: time 2.7e-07/1.132, allocations: 0 / 1.349 GB, free: 8.824 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01964/1.152, allocations: 2.6 MB / 1.352 GB, free: 8.348 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.403/9.555, allocations: 19.41 kB / 1.352 GB, free: 8.336 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.272658922011033] Failed to read output from testmodel.py, exit status != 0: 9.684880858985707 9.70883648 8.581936861 Calling exit ...