Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",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.001338/0.001337, allocations: 99.86 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.001601/0.001601, allocations: 177.3 kB / 15.94 MB, free: 228 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.64/2.64, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.459/4.459, allocations: 409.2 MB / 0.6838 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005804/0.0005805, allocations: 8 kB / 0.8375 GB, free: 6.578 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.409/1.409, allocations: 146.8 MB / 0.9809 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.003403/1.413, allocations: 1.167 MB / 0.982 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001886/1.415, allocations: 0.6194 MB / 0.9826 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/1.415, allocations: 0 / 0.9826 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001222/1.415, allocations: 7.922 kB / 0.9826 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001482/1.415, allocations: 19.91 kB / 0.9826 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001629/1.417, allocations: 266.4 kB / 0.9829 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003912/1.417, allocations: 103.8 kB / 0.983 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.194e-05/1.417, allocations: 7.984 kB / 0.983 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000189/1.417, allocations: 63.83 kB / 0.9831 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001783/1.418, allocations: 47.81 kB / 0.9831 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.715e-05/1.418, allocations: 8 kB / 0.9831 GB, free: 4 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006329/1.418, allocations: 199.7 kB / 0.9833 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001044/1.418, allocations: 35.89 kB / 0.9833 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000104/1.419, allocations: 45.62 kB / 0.9834 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006023/1.419, allocations: 213.9 kB / 0.9836 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/1.419, allocations: 0 / 0.9836 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.806e-06/1.419, allocations: 0 / 0.9836 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.998e-06/1.419, allocations: 0 / 0.9836 GB, free: 3.512 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.00108/1.42, allocations: 450.8 kB / 0.984 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.378e-05/1.42, allocations: 8.031 kB / 0.984 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.526e-05/1.421, allocations: 42.55 kB / 0.9841 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.378e-05/1.421, allocations: 15.91 kB / 0.9841 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003571/1.421, allocations: 206.9 kB / 0.9843 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/1.421, allocations: 7.938 kB / 0.9843 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.138e-05/1.421, allocations: 15.98 kB / 0.9843 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002958/1.421, allocations: 97.44 kB / 0.9844 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/1.421, allocations: 0 / 0.9844 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/1.422, allocations: 7.984 kB / 0.9844 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/1.422, allocations: 0 / 0.9844 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001611/1.422, allocations: 47.92 kB / 0.9844 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005444/1.422, allocations: 247.3 kB / 0.9847 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002608/1.423, allocations: 107.9 kB / 0.9848 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/1.423, allocations: 8 kB / 0.9848 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004005/1.423, allocations: 134.5 kB / 0.9849 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=21): time 2.044e-06/1.423, allocations: 0 / 0.9849 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21): time 0.0008055/1.424, allocations: 453.4 kB / 0.9853 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.694e-05/1.424, allocations: 114.8 kB / 0.9855 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/1.424, allocations: 147.8 kB / 0.9856 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.142e-05/1.424, allocations: 33.7 kB / 0.9856 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.762e-05/1.424, allocations: 100.6 kB / 0.9857 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.087e-05/1.424, allocations: 59.28 kB / 0.9858 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.31e-05/1.424, allocations: 7.938 kB / 0.9858 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001588/1.425, allocations: 322.8 kB / 0.9861 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/1.425, allocations: 56.25 kB / 0.9861 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002946/1.425, allocations: 172.5 kB / 0.9863 GB, free: 340 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/1.425, allocations: 75.92 kB / 0.9864 GB, free: 264 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/1.425, allocations: 4 kB / 0.9864 GB, free: 260 kB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004398/1.426, allocations: 189.3 kB / 0.9866 GB, free: 64 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/1.426, allocations: 4 kB / 0.9866 GB, free: 60 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.125e-05/1.426, allocations: 4 kB / 0.9866 GB, free: 56 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/1.426, allocations: 7.953 kB / 0.9866 GB, free: 48 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/1.426, allocations: 15.92 kB / 0.9866 GB, free: 32 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/1.426, allocations: 4 kB / 0.9866 GB, free: 28 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003816/1.426, allocations: 55.8 kB / 0.9867 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/1.426, allocations: 12 kB / 0.9867 GB, free: 15.96 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition3,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$PRE.occSchDay2.tNext,occSchDay2.tNext,$whenCondition2,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$PRE.occSchDay1.tNext,occSchDay1.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 (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001703/1.427, allocations: 132.1 kB / 0.9868 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/1.427, allocations: 19.95 kB / 0.9868 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.708e-05/1.427, allocations: 12.7 kB / 0.9868 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/1.427, allocations: 7.953 kB / 0.9868 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.427, allocations: 0 / 0.9868 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/1.427, allocations: 3.984 kB / 0.9868 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002205/1.427, allocations: 205.5 kB / 0.987 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/1.427, allocations: 8 kB / 0.987 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.609e-05/1.427, allocations: 15.92 kB / 0.9871 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/1.427, allocations: 0 / 0.9871 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/1.427, allocations: 8 kB / 0.9871 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/1.427, allocations: 4.172 kB / 0.9871 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/1.427, allocations: 3.953 kB / 0.9871 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005231/1.428, allocations: 237.1 kB / 0.9873 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.244e-05/1.428, allocations: 92.86 kB / 0.9874 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.649e-05/1.428, allocations: 7.953 kB / 0.9874 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/1.428, allocations: 4 kB / 0.9874 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.977e-05/1.428, allocations: 15.98 kB / 0.9874 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/1.428, allocations: 4 kB / 0.9874 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001206/1.428, allocations: 108.5 kB / 0.9875 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.9e-07/1.428, allocations: 0 / 0.9875 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006474/1.429, allocations: 107.9 kB / 0.9876 GB, free: 14.87 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.tNonOcc,occSchDay2.tNext,$whenCondition2,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.tNonOcc,occSchDay1.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 3 (occSchDay.tNext,occSchDay1.tNext,occSchDay2.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001338/1.43, allocations: 1.003 MB / 0.9886 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005756/1.431, allocations: 217 kB / 0.9888 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.431, allocations: 0 / 0.9888 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000173/1.431, allocations: 55.92 kB / 0.9889 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/1.431, allocations: 10.75 kB / 0.9889 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002561/1.434, allocations: 1.175 MB / 0.99 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004452/1.434, allocations: 0.7087 MB / 0.9907 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.99e-05/1.434, allocations: 8.891 kB / 0.9907 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.251e-05/1.434, allocations: 35.42 kB / 0.9908 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of SimCode: time 7.41e-07/1.434, allocations: 0 / 0.9908 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0267/1.461, allocations: 4.251 MB / 0.9949 GB, free: 7.477 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002971/1.462, allocations: 209.2 kB / 0.9951 GB, free: 7.238 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.973/4.435, allocations: 4 kB / 0.9951 GB, free: 7.234 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat does not exist to compare? outputFormat=mat