Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008835/0.0008835, allocations: 97.88 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005527/0.005527, allocations: 171 kB / 16.27 MB, free: 6.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.565/2.565, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003817/0.0003817, allocations: 8.906 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3034, allocations: 159.6 MB / 1.059 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.001463/0.3049, allocations: 1.139 MB / 1.06 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00096/0.3059, allocations: 0.5102 MB / 1.06 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.112e-05/0.3059, allocations: 0 / 1.06 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.751e-05/0.306, allocations: 3.984 kB / 1.06 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.557e-05/0.3061, allocations: 7.938 kB / 1.06 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007264/0.3068, allocations: 202.3 kB / 1.061 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.307, allocations: 143.7 kB / 1.061 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.875e-05/0.3071, allocations: 11.92 kB / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.557e-05/0.3072, allocations: 51.91 kB / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.668e-05/0.3073, allocations: 43.83 kB / 1.061 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.428e-05/0.3073, allocations: 4 kB / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002707/0.3076, allocations: 159.8 kB / 1.061 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.788e-05/0.3076, allocations: 31.91 kB / 1.061 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.777e-05/0.3077, allocations: 77.42 kB / 1.061 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003172/0.3081, allocations: 223.7 kB / 1.061 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3081, allocations: 0 / 1.061 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.145e-06/0.3081, allocations: 0 / 1.061 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.3081, allocations: 7.938 kB / 1.061 GB, free: 2.25 MB / 0.8106 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.0004948/0.3086, allocations: 419.2 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.3086, allocations: 11.97 kB / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.588e-05/0.3087, allocations: 38.73 kB / 1.062 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.43e-05/0.3087, allocations: 12.84 kB / 1.062 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.3089, allocations: 208.1 kB / 1.062 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.309, allocations: 8.375 kB / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.309, allocations: 12.38 kB / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.3092, allocations: 87.88 kB / 1.062 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.3092, allocations: 3.938 kB / 1.062 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.3092, allocations: 0 / 1.062 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.3092, allocations: 0 / 1.062 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.368e-05/0.3093, allocations: 35.98 kB / 1.062 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002399/0.3095, allocations: 234.5 kB / 1.062 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.3096, allocations: 81.19 kB / 1.062 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.213e-05/0.3097, allocations: 57.8 kB / 1.062 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.3097, allocations: 0 / 1.062 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002005/0.3099, allocations: 119.5 kB / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=14): time 2.554e-06/0.31, allocations: 0 / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14): time 0.0003358/0.3103, allocations: 197.3 kB / 1.063 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/0.3104, allocations: 85.11 kB / 1.063 GB, free: 456 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.3105, allocations: 151.2 kB / 1.063 GB, free: 296 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.3105, allocations: 33.7 kB / 1.063 GB, free: 256 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.154e-05/0.3106, allocations: 108.5 kB / 1.063 GB, free: 140 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.3107, allocations: 35.55 kB / 1.063 GB, free: 104 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.295e-05/0.3107, allocations: 21.72 kB / 1.063 GB, free: 76 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.3108, allocations: 334.8 kB / 1.063 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.237e-05/0.3109, allocations: 35.98 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.3111, allocations: 205 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.3112, allocations: 97.62 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3112, allocations: 0 / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002169/0.3115, allocations: 157.4 kB / 1.064 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.3115, allocations: 11.94 kB / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/0.3115, allocations: 3.938 kB / 1.064 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.3115, allocations: 4 kB / 1.064 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.925e-05/0.3116, allocations: 11.98 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.3116, allocations: 8 kB / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002944/0.3119, allocations: 83.75 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.3119, allocations: 8 kB / 1.064 GB, free: 15.06 MB / 0.8262 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.0001127/0.3121, allocations: 141.8 kB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.815e-05/0.3121, allocations: 11.84 kB / 1.064 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.072e-05/0.3121, allocations: 12.72 kB / 1.064 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3121, allocations: 0 / 1.064 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3121, allocations: 4 kB / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.3121, allocations: 7.984 kB / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.3123, allocations: 189.5 kB / 1.064 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3123, allocations: 0 / 1.064 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.579e-05/0.3123, allocations: 11.98 kB / 1.064 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3123, allocations: 4 kB / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.3124, allocations: 0 / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.3124, allocations: 0 / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.3124, allocations: 8 kB / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.3126, allocations: 189.7 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.92e-05/0.3126, allocations: 88.95 kB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.3127, allocations: 0 / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.433e-05/0.3127, allocations: 7.984 kB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.3128, allocations: 8 kB / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.3128, allocations: 4 kB / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.272e-05/0.3129, allocations: 114.2 kB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3129, allocations: 4 kB / 1.065 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002959/0.3132, allocations: 71.98 kB / 1.065 GB, free: 14.1 MB / 0.8262 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.0005778/0.3137, allocations: 0.7775 MB / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002393/0.314, allocations: 163.3 kB / 1.066 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.314, allocations: 4 kB / 1.066 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.509e-05/0.3141, allocations: 39.98 kB / 1.066 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.3143, allocations: 18.27 kB / 1.066 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.3159, allocations: 1.721 MB / 1.068 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.3162, allocations: 0.7082 MB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.02e-05/0.3163, allocations: 8.672 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.135e-05/0.3163, allocations: 31.36 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of SimCode: time 1.092e-06/0.3163, allocations: 0 / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.824/3.141, allocations: 3.637 MB / 1.072 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002924/3.141, allocations: 214.2 kB / 1.072 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.841/5.982, allocations: 3.938 kB / 1.072 GB, free: 6.727 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_SetPoints_Examples_OccupancySchedule.fmu > Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)