Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.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.001424/0.001424, 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.001623/0.001623, allocations: 212 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.645/1.645, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.283/3.283, allocations: 0.49 GB / 0.7923 GB, free: 1.258 MB / 0.6231 GB " [Timeout remaining time 176] 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.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_12_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_12_Buildings_Controls_SetPoints_Examples_OccupancySchedule",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.002075/0.002075, allocations: 63.89 kB / 1.149 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.399/1.401, allocations: 176.1 MB / 1.321 GB, free: 24.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002642/1.403, allocations: 1.436 MB / 1.323 GB, free: 23.72 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009106/1.404, allocations: 0.4888 MB / 1.323 GB, free: 23.38 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.139e-05/1.404, allocations: 0 / 1.323 GB, free: 23.38 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000136/1.404, allocations: 9.766 kB / 1.323 GB, free: 23.38 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.372e-05/1.404, allocations: 10.56 kB / 1.323 GB, free: 23.37 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001005/1.405, allocations: 231.5 kB / 1.324 GB, free: 23.27 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003029/1.406, allocations: 148.3 kB / 1.324 GB, free: 23.21 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.76e-05/1.406, allocations: 6.609 kB / 1.324 GB, free: 23.21 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.15e-05/1.406, allocations: 54.14 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/1.406, allocations: 40.08 kB / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.353e-05/1.406, allocations: 9 kB / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003557/1.406, allocations: 176.3 kB / 1.324 GB, free: 23.12 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001055/1.407, allocations: 33.2 kB / 1.324 GB, free: 23.11 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001066/1.407, allocations: 60.62 kB / 1.324 GB, free: 23.07 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004358/1.407, allocations: 230.4 kB / 1.324 GB, free: 23 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 9.808e-06/1.407, allocations: 0 / 1.324 GB, free: 23 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.775e-06/1.407, allocations: 0 / 1.324 GB, free: 23 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.165e-05/1.407, allocations: 3.938 kB / 1.324 GB, free: 22.99 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000929/1.408, allocations: 462.8 kB / 1.325 GB, free: 22.56 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 8.155e-05/1.408, allocations: 19.42 kB / 1.325 GB, free: 22.55 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.637e-05/1.408, allocations: 192 / 1.325 GB, free: 22.55 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.868e-05/1.408, allocations: 37.56 kB / 1.325 GB, free: 22.51 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.986e-05/1.408, allocations: 18.84 kB / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/1.409, allocations: 207.8 kB / 1.325 GB, free: 22.29 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/1.409, allocations: 6.312 kB / 1.325 GB, free: 22.29 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.965e-05/1.409, allocations: 16.89 kB / 1.325 GB, free: 22.28 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/1.409, allocations: 93.48 kB / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/1.409, allocations: 0 / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/1.409, allocations: 0 / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/1.409, allocations: 0 / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.988e-05/1.409, allocations: 37.39 kB / 1.325 GB, free: 22.2 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003311/1.409, allocations: 229.5 kB / 1.325 GB, free: 21.98 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/1.409, allocations: 75.56 kB / 1.325 GB, free: 21.91 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.525e-05/1.41, allocations: 53.88 kB / 1.325 GB, free: 21.89 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/1.41, allocations: 0 / 1.325 GB, free: 21.89 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003337/1.41, allocations: 113.7 kB / 1.326 GB, free: 21.8 MB / 1.061 GB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/1.41, allocations: 0 / 1.326 GB, free: 21.8 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.0004623/1.41, allocations: 196.4 kB / 1.326 GB, free: 21.72 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.773e-05/1.41, allocations: 86.45 kB / 1.326 GB, free: 21.62 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/1.411, allocations: 144.3 kB / 1.326 GB, free: 21.51 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.391e-05/1.411, allocations: 42.3 kB / 1.326 GB, free: 21.47 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.626e-05/1.411, allocations: 97.77 kB / 1.326 GB, free: 21.38 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.845e-05/1.411, allocations: 45.08 kB / 1.326 GB, free: 21.34 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.611e-05/1.411, allocations: 52.36 kB / 1.326 GB, free: 21.31 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000122/1.411, allocations: 327.8 kB / 1.327 GB, free: 20.99 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.835e-05/1.411, allocations: 37.7 kB / 1.327 GB, free: 20.98 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/1.411, allocations: 200.3 kB / 1.327 GB, free: 20.81 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/1.412, allocations: 99.27 kB / 1.327 GB, free: 20.76 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/1.412, allocations: 0 / 1.327 GB, free: 20.76 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003161/1.412, allocations: 165 kB / 1.327 GB, free: 20.68 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/1.412, allocations: 9 kB / 1.327 GB, free: 20.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.289e-05/1.412, allocations: 9.938 kB / 1.327 GB, free: 20.67 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.997e-05/1.412, allocations: 0.8125 kB / 1.327 GB, free: 20.67 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/1.412, allocations: 7.125 kB / 1.327 GB, free: 20.67 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/1.412, allocations: 1.219 kB / 1.327 GB, free: 20.67 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000352/1.412, allocations: 83.86 kB / 1.327 GB, free: 20.66 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/1.412, allocations: 2.938 kB / 1.327 GB, free: 20.66 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 (occSchWee.tNext,$PRE.occSchWee.tNext,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.occupied,$PRE.occSchWee.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001526/1.413, allocations: 138.7 kB / 1.327 GB, free: 20.53 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.674e-05/1.413, allocations: 8.953 kB / 1.327 GB, free: 20.52 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.848e-05/1.413, allocations: 12.5 kB / 1.327 GB, free: 20.51 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/1.413, allocations: 0.9375 kB / 1.327 GB, free: 20.51 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/1.413, allocations: 9.031 kB / 1.327 GB, free: 20.5 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/1.413, allocations: 4.578 kB / 1.327 GB, free: 20.5 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/1.413, allocations: 207.1 kB / 1.327 GB, free: 20.28 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/1.413, allocations: 0.6562 kB / 1.327 GB, free: 20.28 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.105e-05/1.413, allocations: 6.031 kB / 1.328 GB, free: 20.28 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/1.413, allocations: 1.094 kB / 1.328 GB, free: 20.28 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/1.413, allocations: 5.906 kB / 1.328 GB, free: 20.28 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/1.413, allocations: 1.188 kB / 1.328 GB, free: 20.28 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.413, allocations: 0 / 1.328 GB, free: 20.28 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003638/1.413, allocations: 195.4 kB / 1.328 GB, free: 20.16 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.071e-05/1.413, allocations: 88.55 kB / 1.328 GB, free: 20.05 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/1.413, allocations: 5.078 kB / 1.328 GB, free: 20.05 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.478e-05/1.413, allocations: 5.844 kB / 1.328 GB, free: 20.05 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.488e-05/1.414, allocations: 6.703 kB / 1.328 GB, free: 20.05 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/1.414, allocations: 3.062 kB / 1.328 GB, free: 20.05 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001102/1.414, allocations: 110.2 kB / 1.328 GB, free: 19.97 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.414, allocations: 0 / 1.328 GB, free: 19.97 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005177/1.414, allocations: 80.22 kB / 1.328 GB, free: 19.95 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * 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.0009644/1.415, allocations: 0.7755 MB / 1.329 GB, free: 19.3 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004319/1.416, allocations: 152 kB / 1.329 GB, free: 19.21 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/1.416, allocations: 0.9688 kB / 1.329 GB, free: 19.21 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001107/1.416, allocations: 40.05 kB / 1.329 GB, free: 19.2 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/1.416, allocations: 10.09 kB / 1.329 GB, free: 19.2 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002597/1.419, allocations: 1.72 MB / 1.331 GB, free: 17.84 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003918/1.419, allocations: 0.7005 MB / 1.331 GB, free: 17.14 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.402e-05/1.419, allocations: 13.48 kB / 1.331 GB, free: 17.14 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.025e-05/1.419, allocations: 32.28 kB / 1.331 GB, free: 17.11 MB / 1.061 GB Notification: Performance of SimCode: time 8.62e-07/1.419, allocations: 0 / 1.331 GB, free: 17.11 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03127/1.45, allocations: 4.025 MB / 1.335 GB, free: 16.5 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.763/10.21, allocations: 18.55 kB / 1.335 GB, free: 16.49 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --stepSize=518.4 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_SetPoints_Examples_OccupancySchedule.fmu > Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 17.632792706019245] Failed to read output from testmodel.py, exit status != 0: 10.347430938971229 10.372160828 8.96039299 Calling exit ...