Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",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.0008947/0.0008947, allocations: 90.28 kB / 15.06 MB, free: 1.094 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.001229/0.001229, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.606/2.606, allocations: 409.4 MB / 0.684 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003863/0.0003865, allocations: 8 kB / 0.8378 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7168/0.7172, allocations: 146.8 MB / 0.9811 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.001538/0.7188, allocations: 1.186 MB / 0.9823 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.7199, allocations: 0.6429 MB / 0.9829 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.391e-05/0.7199, allocations: 0 / 0.9829 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 6.161e-05/0.72, allocations: 7.938 kB / 0.9829 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.144e-05/0.72, allocations: 7.922 kB / 0.9829 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008253/0.7209, allocations: 292.9 kB / 0.9832 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002139/0.7211, allocations: 139.7 kB / 0.9833 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.633e-05/0.7212, allocations: 7.984 kB / 0.9833 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.217e-05/0.7212, allocations: 59.83 kB / 0.9834 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.065e-05/0.7213, allocations: 51.81 kB / 0.9835 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.774e-05/0.7214, allocations: 8 kB / 0.9835 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003472/0.7217, allocations: 227.7 kB / 0.9837 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.618e-05/0.7218, allocations: 35.89 kB / 0.9837 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.108e-05/0.7219, allocations: 37.7 kB / 0.9837 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002849/0.7222, allocations: 217.8 kB / 0.984 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.7222, allocations: 0 / 0.984 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.894e-06/0.7222, allocations: 0 / 0.984 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.7222, allocations: 0 / 0.984 GB, free: 3.355 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.0005931/0.7228, allocations: 458.8 kB / 0.9844 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.7229, allocations: 8.031 kB / 0.9844 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.409e-05/0.7229, allocations: 46.55 kB / 0.9844 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.145e-05/0.7229, allocations: 11.91 kB / 0.9845 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.7232, allocations: 210.8 kB / 0.9847 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.7232, allocations: 7.938 kB / 0.9847 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/0.7232, allocations: 15.98 kB / 0.9847 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.7234, allocations: 105.2 kB / 0.9848 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.7234, allocations: 0 / 0.9848 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.7234, allocations: 4 kB / 0.9848 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.7234, allocations: 0 / 0.9848 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.212e-05/0.7235, allocations: 47.91 kB / 0.9848 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002631/0.7238, allocations: 251.3 kB / 0.9851 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.7239, allocations: 103.8 kB / 0.9852 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.923e-05/0.7241, allocations: 74.7 kB / 0.9852 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.7241, allocations: 4 kB / 0.9852 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002256/0.7243, allocations: 138.4 kB / 0.9854 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=21): time 1.232e-06/0.7243, allocations: 0 / 0.9854 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21): time 0.0003706/0.7247, allocations: 214.1 kB / 0.9856 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.995e-05/0.7248, allocations: 114.8 kB / 0.9857 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.7249, allocations: 143.3 kB / 0.9858 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.7249, allocations: 41.69 kB / 0.9859 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.32e-05/0.725, allocations: 92.7 kB / 0.986 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.527e-05/0.725, allocations: 63.28 kB / 0.986 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.586e-06/0.725, allocations: 7.938 kB / 0.986 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.7252, allocations: 326.8 kB / 0.9863 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.734e-05/0.7253, allocations: 48.27 kB / 0.9864 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.7254, allocations: 176.5 kB / 0.9865 GB, free: 376 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.7256, allocations: 63.94 kB / 0.9866 GB, free: 312 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.7256, allocations: 4 kB / 0.9866 GB, free: 308 kB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002664/0.7258, allocations: 189.5 kB / 0.9868 GB, free: 112 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.7259, allocations: 4 kB / 0.9868 GB, free: 108 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.677e-05/0.7259, allocations: 11.94 kB / 0.9868 GB, free: 96 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.7259, allocations: 8 kB / 0.9868 GB, free: 88 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.874e-05/0.726, allocations: 12 kB / 0.9868 GB, free: 76 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.726, allocations: 11.88 kB / 0.9868 GB, free: 64 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/0.7262, allocations: 51.8 kB / 0.9869 GB, free: 12 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.7263, allocations: 8 kB / 0.9869 GB, free: 4 kB / 0.7325 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.0001325/0.7264, allocations: 144.2 kB / 0.987 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.923e-05/0.7264, allocations: 11.81 kB / 0.987 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.317e-05/0.7265, allocations: 16.7 kB / 0.9871 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.7265, allocations: 7.953 kB / 0.9871 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.7265, allocations: 0 / 0.9871 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.7265, allocations: 0 / 0.9871 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.7267, allocations: 201.5 kB / 0.9873 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.7267, allocations: 11.92 kB / 0.9873 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.229e-05/0.7267, allocations: 11.94 kB / 0.9873 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.7267, allocations: 0 / 0.9873 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.7268, allocations: 12 kB / 0.9873 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.7268, allocations: 0 / 0.9873 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.7268, allocations: 3.953 kB / 0.9873 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.727, allocations: 213.8 kB / 0.9875 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 4.216e-05/0.7271, allocations: 100.8 kB / 0.9876 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.7271, allocations: 0 / 0.9876 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.47e-05/0.7272, allocations: 15.98 kB / 0.9876 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.7272, allocations: 7.953 kB / 0.9876 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.7272, allocations: 11.98 kB / 0.9876 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 6.246e-05/0.7273, allocations: 101 kB / 0.9877 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7273, allocations: 0 / 0.9877 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003398/0.7277, allocations: 103.9 kB / 0.9878 GB, free: 14.95 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.0006779/0.7283, allocations: 0.8422 MB / 0.9887 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003021/0.7287, allocations: 217 kB / 0.9889 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.7287, allocations: 0 / 0.9889 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 8.578e-05/0.7288, allocations: 55.92 kB / 0.9889 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.729, allocations: 18.95 kB / 0.9889 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.7302, allocations: 0.8616 MB / 0.9898 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.7305, allocations: 0.7048 MB / 0.9905 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.6e-05/0.7305, allocations: 16.81 kB / 0.9905 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.318e-05/0.7306, allocations: 35.42 kB / 0.9905 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of SimCode: time 2.5e-07/0.7306, allocations: 4 kB / 0.9905 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01631/0.7469, allocations: 4.278 MB / 0.9947 GB, free: 8.004 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/0.7471, allocations: 214.9 kB / 0.9949 GB, free: 7.766 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.858/2.605, allocations: 0 / 0.9949 GB, free: 7.766 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat does not exist to compare? outputFormat=mat