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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.001176/0.001176, allocations: 100.6 kB / 15.05 MB, free: 1.105 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.002477/0.002478, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.694/2.694, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.047/5.047, allocations: 409.2 MB / 0.6838 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006068/0.0006067, allocations: 15.98 kB / 0.8375 GB, free: 6.52 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.447/1.448, allocations: 146.8 MB / 0.9809 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002809/1.451, allocations: 1.114 MB / 0.9819 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00133/1.452, allocations: 453.2 kB / 0.9824 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.448e-05/1.452, allocations: 4 kB / 0.9824 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.263e-05/1.452, allocations: 3.984 kB / 0.9824 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.763e-05/1.452, allocations: 11.92 kB / 0.9824 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001097/1.453, allocations: 178.5 kB / 0.9826 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002673/1.454, allocations: 91.83 kB / 0.9827 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.532e-05/1.454, allocations: 7.984 kB / 0.9827 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/1.454, allocations: 51.91 kB / 0.9827 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/1.454, allocations: 43.88 kB / 0.9828 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.393e-05/1.454, allocations: 8 kB / 0.9828 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003457/1.455, allocations: 131.9 kB / 0.9829 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.219e-05/1.455, allocations: 31.91 kB / 0.9829 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.786e-05/1.455, allocations: 45.62 kB / 0.983 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003682/1.455, allocations: 161.9 kB / 0.9831 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/1.455, allocations: 0 / 0.9831 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.766e-06/1.455, allocations: 4 kB / 0.9831 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.861e-06/1.455, allocations: 0 / 0.9831 GB, free: 3.934 MB / 0.7325 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.0009045/1.456, allocations: 430.8 kB / 0.9835 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.289e-05/1.456, allocations: 8.031 kB / 0.9835 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.691e-05/1.456, allocations: 34.56 kB / 0.9836 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.303e-05/1.456, allocations: 15.91 kB / 0.9836 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004256/1.457, allocations: 200 kB / 0.9838 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/1.457, allocations: 11.98 kB / 0.9838 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.948e-05/1.457, allocations: 15.95 kB / 0.9838 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002777/1.457, allocations: 79.39 kB / 0.9839 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/1.457, allocations: 3.938 kB / 0.9839 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/1.457, allocations: 0 / 0.9839 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/1.457, allocations: 4 kB / 0.9839 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/1.457, allocations: 35.92 kB / 0.9839 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004571/1.458, allocations: 230.5 kB / 0.9841 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/1.458, allocations: 77.2 kB / 0.9842 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/1.458, allocations: 8.016 kB / 0.9842 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003708/1.458, allocations: 109.1 kB / 0.9843 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/1.458, allocations: 4 kB / 0.9843 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14): time 0.0006836/1.459, allocations: 351.6 kB / 0.9847 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/1.459, allocations: 85.09 kB / 0.9847 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/1.46, allocations: 148.6 kB / 0.9849 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.177e-05/1.46, allocations: 33.7 kB / 0.9849 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/1.46, allocations: 100.5 kB / 0.985 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.481e-05/1.46, allocations: 39.53 kB / 0.9851 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.385e-06/1.46, allocations: 0 / 0.9851 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0003313/1.46, allocations: 330.8 kB / 0.9854 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/1.46, allocations: 48.09 kB / 0.9854 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003775/1.461, allocations: 199.7 kB / 0.9856 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/1.461, allocations: 63.84 kB / 0.9857 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/1.461, allocations: 0 / 0.9857 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004551/1.461, allocations: 161.4 kB / 0.9858 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/1.461, allocations: 5.562 kB / 0.9858 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-05/1.462, allocations: 4 kB / 0.9858 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/1.462, allocations: 7.938 kB / 0.9858 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/1.462, allocations: 12 kB / 0.9858 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/1.462, allocations: 0 / 0.9858 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004989/1.462, allocations: 97.14 kB / 0.9859 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/1.462, allocations: 4 kB / 0.9859 GB, free: 0.6875 MB / 0.7325 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 ($whenCondition2,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$PRE.occSchWee.tNext,occSchWee.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002112/1.462, allocations: 133.7 kB / 0.9861 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.006e-05/1.463, allocations: 15.95 kB / 0.9861 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.248e-05/1.463, allocations: 20.69 kB / 0.9861 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/1.463, allocations: 4 kB / 0.9861 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/1.463, allocations: 0 / 0.9861 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/1.463, allocations: 0 / 0.9861 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002943/1.463, allocations: 201.5 kB / 0.9863 GB, free: 264 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/1.463, allocations: 4 kB / 0.9863 GB, free: 260 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.849e-05/1.463, allocations: 4 kB / 0.9863 GB, free: 256 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/1.463, allocations: 3.953 kB / 0.9863 GB, free: 252 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/1.463, allocations: 8 kB / 0.9863 GB, free: 244 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/1.463, allocations: 0 / 0.9863 GB, free: 244 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.471e-05/1.463, allocations: 4 kB / 0.9863 GB, free: 240 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003976/1.464, allocations: 194.4 kB / 0.9865 GB, free: 20 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/1.464, allocations: 88.95 kB / 0.9866 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.777e-05/1.464, allocations: 4 kB / 0.9866 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.099e-05/1.464, allocations: 8 kB / 0.9866 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/1.464, allocations: 7.984 kB / 0.9866 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/1.464, allocations: 4 kB / 0.9866 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001411/1.464, allocations: 113 kB / 0.9867 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.91e-07/1.464, allocations: 0 / 0.9867 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006427/1.465, allocations: 71.94 kB / 0.9868 GB, free: 15.71 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001258/1.466, allocations: 0.8599 MB / 0.9876 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004777/1.467, allocations: 163.3 kB / 0.9878 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/1.467, allocations: 0 / 0.9878 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/1.467, allocations: 47.97 kB / 0.9878 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/1.467, allocations: 8 kB / 0.9878 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002088/1.469, allocations: 0.9575 MB / 0.9888 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004961/1.469, allocations: 0.7082 MB / 0.9895 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.88e-05/1.47, allocations: 4.672 kB / 0.9895 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.397e-05/1.47, allocations: 31.42 kB / 0.9895 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of SimCode: time 6.31e-07/1.47, allocations: 0 / 0.9895 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02323/1.493, allocations: 3.604 MB / 0.993 GB, free: 9.363 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003149/1.493, allocations: 204.5 kB / 0.9932 GB, free: 9.109 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.22/4.714, allocations: 0 / 0.9932 GB, free: 9.109 MB / 0.7481 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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.mat does not exist to compare? outputFormat=mat