Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.001856/0.001856, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002345/0.002345, allocations: 216.4 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.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.681/2.681, allocations: 476.8 MB / 0.7715 GB, free: 4.301 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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",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.002054/0.002054, allocations: 62.14 kB / 1.118 GB, free: 39.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.3009, allocations: 170 MB / 1.284 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002308/0.3032, allocations: 0.9328 MB / 1.285 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.3044, allocations: 0.9229 MB / 1.286 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.875e-05/0.3045, allocations: 7.938 kB / 1.286 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.918e-05/0.3045, allocations: 15.8 kB / 1.286 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.164e-05/0.3046, allocations: 15.8 kB / 1.286 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002068/0.3048, allocations: 51.95 kB / 1.286 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.305, allocations: 127.6 kB / 1.286 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.3051, allocations: 37.7 kB / 1.286 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.3052, allocations: 55.84 kB / 1.286 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.3053, allocations: 67.62 kB / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.3054, allocations: 12 kB / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.754e-05/0.3054, allocations: 20 kB / 1.286 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.041e-05/0.3054, allocations: 19.92 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.645e-05/0.3055, allocations: 55.73 kB / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.3057, allocations: 166.9 kB / 1.287 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3057, allocations: 4 kB / 1.287 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3057, allocations: 3.938 kB / 1.287 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.3057, allocations: 0 / 1.287 GB, free: 9.078 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005781/0.3063, allocations: 353.8 kB / 1.287 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.3063, allocations: 8.031 kB / 1.287 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.622e-05/0.3064, allocations: 4.188 kB / 1.287 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.569e-05/0.3064, allocations: 50.67 kB / 1.287 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002203/0.3066, allocations: 32.83 kB / 1.287 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.3069, allocations: 153.5 kB / 1.287 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.3069, allocations: 12.12 kB / 1.287 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.3069, allocations: 12 kB / 1.287 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.3071, allocations: 107.4 kB / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.3071, allocations: 0 / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.3072, allocations: 8 kB / 1.287 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.3072, allocations: 0 / 1.287 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001917/0.3073, allocations: 67.95 kB / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000561/0.3079, allocations: 379.5 kB / 1.288 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002635/0.3082, allocations: 74.61 kB / 1.288 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.3083, allocations: 40.89 kB / 1.288 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.3083, allocations: 7.875 kB / 1.288 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.3083, allocations: 34.56 kB / 1.288 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.3083, allocations: 0 / 1.288 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003669/0.3087, allocations: 125.7 kB / 1.288 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.3087, allocations: 51.41 kB / 1.288 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.3089, allocations: 162.8 kB / 1.288 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.3089, allocations: 29.7 kB / 1.288 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.412e-05/0.309, allocations: 112.2 kB / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.309, allocations: 27.92 kB / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.498e-05/0.3091, allocations: 21.72 kB / 1.288 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.3092, allocations: 326.8 kB / 1.289 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.726e-05/0.3093, allocations: 39.92 kB / 1.289 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.3094, allocations: 50.55 kB / 1.289 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/0.3096, allocations: 56.83 kB / 1.289 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3096, allocations: 4 kB / 1.289 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002572/0.3098, allocations: 113.5 kB / 1.289 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.3098, allocations: 4 kB / 1.289 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.778e-06/0.3099, allocations: 4.219 kB / 1.289 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.3099, allocations: 0 / 1.289 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.976e-05/0.3099, allocations: 19.98 kB / 1.289 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.3099, allocations: 3.938 kB / 1.289 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.547e-05/0.31, allocations: 7.953 kB / 1.289 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.31, allocations: 7.984 kB / 1.289 GB, free: 6.414 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001063/0.3102, allocations: 125.8 kB / 1.289 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.653e-05/0.3102, allocations: 15.89 kB / 1.289 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.444e-05/0.3102, allocations: 12.72 kB / 1.289 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.3102, allocations: 4 kB / 1.289 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.3102, allocations: 0 / 1.289 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3102, allocations: 0 / 1.289 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.3104, allocations: 176.7 kB / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3104, allocations: 7.938 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.565e-05/0.3105, allocations: 11.98 kB / 1.289 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3105, allocations: 4 kB / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.3105, allocations: 0 / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3105, allocations: 0 / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3105, allocations: 0 / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.3108, allocations: 199.7 kB / 1.29 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.419e-05/0.3108, allocations: 19.83 kB / 1.29 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.3108, allocations: 4 kB / 1.29 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.311, allocations: 11.98 kB / 1.29 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.479e-05/0.311, allocations: 15.97 kB / 1.29 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.435e-06/0.311, allocations: 3.984 kB / 1.29 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.132e-05/0.3111, allocations: 120.5 kB / 1.29 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3111, allocations: 0 / 1.29 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000236/0.3113, allocations: 27.94 kB / 1.29 GB, free: 5.605 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: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0005733/0.3119, allocations: 0.728 MB / 1.29 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002303/0.3122, allocations: 67.95 kB / 1.29 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.3122, allocations: 0 / 1.29 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.519e-05/0.3122, allocations: 35.92 kB / 1.291 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.3125, allocations: 16 kB / 1.291 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/0.3145, allocations: 1.659 MB / 1.292 GB, free: 3 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.3148, allocations: 0.7079 MB / 1.293 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.797e-05/0.3149, allocations: 20.58 kB / 1.293 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.973e-05/0.315, allocations: 31.42 kB / 1.293 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of SimCode: time 5.51e-07/0.315, allocations: 4 kB / 1.293 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02309/0.3381, allocations: 2.813 MB / 1.296 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.6, allocations: 5.938 kB / 1.296 GB, free: 15.54 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 17.855317740002647] Failed to read output from testmodel.py, exit status != 0: 12.22133406199282 11.797739902 11.485962708 Calling exit ...