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.001023/0.001023, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001354/0.001354, allocations: 168.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.445/1.445, 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.519/2.519, allocations: 409.4 MB / 0.684 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.0003841, allocations: 12 kB / 0.8378 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.716/0.7164, allocations: 146.8 MB / 0.9811 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.001721/0.7182, allocations: 1.175 MB / 0.9823 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.7192, allocations: 0.643 MB / 0.9829 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.961e-05/0.7193, allocations: 0 / 0.9829 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 6.61e-05/0.7194, allocations: 11.86 kB / 0.9829 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.614e-05/0.7194, allocations: 23.78 kB / 0.9829 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008241/0.7203, allocations: 276.6 kB / 0.9832 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002194/0.7205, allocations: 143.6 kB / 0.9833 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.472e-05/0.7206, allocations: 15.98 kB / 0.9834 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.371e-05/0.7206, allocations: 67.81 kB / 0.9834 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.514e-05/0.7207, allocations: 47.83 kB / 0.9835 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.7208, allocations: 4 kB / 0.9835 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000333/0.7211, allocations: 219.8 kB / 0.9837 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.642e-05/0.7212, allocations: 39.88 kB / 0.9837 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.807e-05/0.7213, allocations: 41.64 kB / 0.9838 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.7215, allocations: 209.9 kB / 0.984 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.7215, allocations: 4 kB / 0.984 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7216, allocations: 0 / 0.984 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.7216, allocations: 0 / 0.984 GB, free: 3.395 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.0006257/0.7222, allocations: 458.8 kB / 0.9844 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.7222, allocations: 8.031 kB / 0.9844 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.693e-05/0.7223, allocations: 38.56 kB / 0.9844 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.128e-05/0.7223, allocations: 7.906 kB / 0.9845 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.7226, allocations: 210.8 kB / 0.9847 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.7226, allocations: 8 kB / 0.9847 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.87e-05/0.7227, allocations: 12 kB / 0.9847 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.7229, allocations: 105 kB / 0.9848 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.7229, allocations: 0 / 0.9848 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.7229, allocations: 0 / 0.9848 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.7229, allocations: 4 kB / 0.9848 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.642e-05/0.723, allocations: 39.97 kB / 0.9848 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002588/0.7233, allocations: 255.3 kB / 0.9851 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.7234, allocations: 107.9 kB / 0.9852 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.501e-05/0.7235, allocations: 78.59 kB / 0.9852 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.7235, allocations: 3.984 kB / 0.9852 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002347/0.7238, allocations: 134.4 kB / 0.9854 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=21): time 1.093e-06/0.7238, allocations: 0 / 0.9854 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21): time 0.000386/0.7242, allocations: 217.3 kB / 0.9856 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.573e-05/0.7243, allocations: 114.8 kB / 0.9857 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.7244, allocations: 147.2 kB / 0.9858 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.7244, allocations: 33.7 kB / 0.9859 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.043e-05/0.7245, allocations: 96.69 kB / 0.986 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.826e-05/0.7245, allocations: 59.28 kB / 0.986 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-06/0.7246, allocations: 4 kB / 0.986 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.7247, allocations: 330.8 kB / 0.9863 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.988e-05/0.7248, allocations: 52.25 kB / 0.9864 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.725, allocations: 177.9 kB / 0.9865 GB, free: 428 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.7251, allocations: 71.97 kB / 0.9866 GB, free: 356 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.7251, allocations: 0 / 0.9866 GB, free: 356 kB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002668/0.7254, allocations: 198 kB / 0.9868 GB, free: 152 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.7254, allocations: 5.875 kB / 0.9868 GB, free: 148 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.419e-05/0.7254, allocations: 7.953 kB / 0.9868 GB, free: 140 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.7255, allocations: 4 kB / 0.9868 GB, free: 136 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.748e-05/0.7255, allocations: 15.92 kB / 0.9868 GB, free: 120 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.7256, allocations: 4 kB / 0.9868 GB, free: 116 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002057/0.7258, allocations: 55.8 kB / 0.9869 GB, free: 60 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.7258, allocations: 8 kB / 0.9869 GB, free: 52 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.0001358/0.7259, allocations: 140 kB / 0.987 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.851e-05/0.726, allocations: 11.81 kB / 0.987 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.905e-05/0.726, allocations: 16.72 kB / 0.9871 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.726, allocations: 3.953 kB / 0.9871 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.726, allocations: 8 kB / 0.9871 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.726, allocations: 0 / 0.9871 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.7262, allocations: 205.5 kB / 0.9873 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.7262, allocations: 0 / 0.9873 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.288e-05/0.7263, allocations: 12 kB / 0.9873 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.7263, allocations: 4 kB / 0.9873 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.7263, allocations: 7.984 kB / 0.9873 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.7263, allocations: 4 kB / 0.9873 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.7263, allocations: 8.125 kB / 0.9873 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002789/0.7266, allocations: 209.6 kB / 0.9875 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.644e-05/0.7267, allocations: 96.84 kB / 0.9876 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.7267, allocations: 4 kB / 0.9876 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.226e-05/0.7268, allocations: 8 kB / 0.9876 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.438e-05/0.7268, allocations: 11.94 kB / 0.9876 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.7268, allocations: 4 kB / 0.9876 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 6.718e-05/0.7269, allocations: 111.2 kB / 0.9877 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7269, allocations: 0 / 0.9877 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003744/0.7273, allocations: 103.9 kB / 0.9878 GB, free: 15 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.0008339/0.7281, allocations: 0.8445 MB / 0.9887 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002998/0.7284, allocations: 216.9 kB / 0.9889 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.7285, allocations: 0 / 0.9889 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 8.811e-05/0.7286, allocations: 59.91 kB / 0.9889 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001772/0.7287, allocations: 17.3 kB / 0.9889 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.7299, allocations: 0.8665 MB / 0.9898 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.7302, allocations: 0.7126 MB / 0.9905 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.313e-05/0.7303, allocations: 12.88 kB / 0.9905 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.553e-05/0.7303, allocations: 27.44 kB / 0.9905 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of SimCode: time 4.41e-07/0.7303, allocations: 0 / 0.9905 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01585/0.7462, allocations: 4.274 MB / 0.9947 GB, free: 8.055 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002357/0.7465, allocations: 215 kB / 0.9949 GB, free: 7.816 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.789/2.535, allocations: 3.125 kB / 0.9949 GB, free: 7.816 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