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.001913/0.001914, 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.002154/0.002155, 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.655/2.655, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.581/4.581, allocations: 409.2 MB / 0.6838 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006401/0.0006402, allocations: 12 kB / 0.8375 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.349/1.35, allocations: 146.8 MB / 0.9809 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002717/1.353, allocations: 1.163 MB / 0.982 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002085/1.355, allocations: 0.6077 MB / 0.9826 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.696e-05/1.355, allocations: 11.88 kB / 0.9826 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001102/1.355, allocations: 3.984 kB / 0.9826 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001246/1.355, allocations: 15.92 kB / 0.9826 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00162/1.357, allocations: 276.7 kB / 0.9829 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003456/1.357, allocations: 95.89 kB / 0.983 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/1.357, allocations: 7.984 kB / 0.983 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/1.358, allocations: 67.83 kB / 0.983 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/1.358, allocations: 55.75 kB / 0.9831 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.556e-05/1.358, allocations: 4 kB / 0.9831 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005786/1.358, allocations: 203.7 kB / 0.9833 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.962e-05/1.358, allocations: 31.91 kB / 0.9833 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001036/1.359, allocations: 45.7 kB / 0.9834 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004823/1.359, allocations: 205.8 kB / 0.9836 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/1.359, allocations: 3.938 kB / 0.9836 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.246e-06/1.359, allocations: 0 / 0.9836 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.396e-06/1.359, allocations: 0 / 0.9836 GB, free: 3.496 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.0009849/1.36, allocations: 454.8 kB / 0.984 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.555e-05/1.36, allocations: 8.031 kB / 0.984 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.224e-05/1.36, allocations: 46.55 kB / 0.9841 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.547e-05/1.36, allocations: 11.91 kB / 0.9841 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003953/1.361, allocations: 208.9 kB / 0.9843 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/1.361, allocations: 4 kB / 0.9843 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.919e-05/1.361, allocations: 16 kB / 0.9843 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003285/1.361, allocations: 100.1 kB / 0.9844 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/1.361, allocations: 3.984 kB / 0.9844 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/1.361, allocations: 4 kB / 0.9844 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/1.361, allocations: 0 / 0.9844 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/1.362, allocations: 47.91 kB / 0.9844 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004832/1.362, allocations: 255.3 kB / 0.9847 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/1.362, allocations: 103.9 kB / 0.9848 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/1.362, allocations: 4 kB / 0.9848 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005935/1.363, allocations: 138.5 kB / 0.9849 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=21): time 1.934e-06/1.363, allocations: 0 / 0.9849 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21): time 0.001191/1.364, allocations: 453.4 kB / 0.9853 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002032/1.364, allocations: 110.8 kB / 0.9854 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/1.365, allocations: 150.5 kB / 0.9856 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000252/1.365, allocations: 33.7 kB / 0.9856 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/1.365, allocations: 104.7 kB / 0.9857 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/1.365, allocations: 55.28 kB / 0.9858 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.584e-05/1.365, allocations: 4 kB / 0.9858 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002642/1.365, allocations: 322.8 kB / 0.9861 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/1.366, allocations: 60.19 kB / 0.9861 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006471/1.366, allocations: 172.5 kB / 0.9863 GB, free: 316 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/1.367, allocations: 75.91 kB / 0.9864 GB, free: 240 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/1.367, allocations: 0 / 0.9864 GB, free: 240 kB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005227/1.367, allocations: 193.4 kB / 0.9866 GB, free: 40 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.297e-05/1.367, allocations: 5.875 kB / 0.9866 GB, free: 36 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.253e-05/1.367, allocations: 12 kB / 0.9866 GB, free: 24 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-05/1.367, allocations: 3.953 kB / 0.9866 GB, free: 20 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001813/1.367, allocations: 19.98 kB / 0.9866 GB, free: 0 / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/1.367, allocations: 0 / 0.9866 GB, free: 0 / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004623/1.368, allocations: 53.38 kB / 0.9867 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/1.368, allocations: 8.234 kB / 0.9867 GB, free: 15.94 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.0002122/1.368, allocations: 145.6 kB / 0.9868 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.94e-05/1.368, allocations: 15.81 kB / 0.9868 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.044e-05/1.368, allocations: 8.719 kB / 0.9868 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/1.368, allocations: 7.781 kB / 0.9868 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/1.368, allocations: 144 / 0.9868 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/1.368, allocations: 3.984 kB / 0.9868 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003078/1.369, allocations: 205.5 kB / 0.987 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/1.369, allocations: 4 kB / 0.987 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.999e-05/1.369, allocations: 11.94 kB / 0.9871 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/1.369, allocations: 4 kB / 0.9871 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001592/1.369, allocations: 15.92 kB / 0.9871 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/1.369, allocations: 0 / 0.9871 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/1.369, allocations: 3.953 kB / 0.9871 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005111/1.37, allocations: 233.1 kB / 0.9873 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.636e-05/1.37, allocations: 104.8 kB / 0.9874 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/1.37, allocations: 0 / 0.9874 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.924e-05/1.37, allocations: 12 kB / 0.9874 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.105e-05/1.37, allocations: 15.92 kB / 0.9874 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/1.37, allocations: 4 kB / 0.9874 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003117/1.37, allocations: 107.2 kB / 0.9875 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.3e-07/1.37, allocations: 0 / 0.9875 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007876/1.371, allocations: 103.9 kB / 0.9876 GB, free: 14.84 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.001913/1.373, allocations: 1.005 MB / 0.9886 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000646/1.374, allocations: 217 kB / 0.9888 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/1.374, allocations: 0 / 0.9888 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001815/1.374, allocations: 59.91 kB / 0.9889 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/1.374, allocations: 4 kB / 0.9889 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003043/1.377, allocations: 1.169 MB / 0.99 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008439/1.378, allocations: 0.7126 MB / 0.9907 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.52e-05/1.378, allocations: 8.875 kB / 0.9907 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/1.378, allocations: 35.42 kB / 0.9908 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of SimCode: time 1.342e-06/1.378, allocations: 0 / 0.9908 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03107/1.41, allocations: 4.254 MB / 0.9949 GB, free: 7.445 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003385/1.41, allocations: 206.9 kB / 0.9951 GB, free: 7.211 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.103/4.513, allocations: 0 / 0.9951 GB, free: 7.211 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