Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",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.001642/0.001642, allocations: 99.55 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.001852/0.001852, 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.961/2.961, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.196/5.196, allocations: 409.2 MB / 0.6838 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000621/0.0006212, allocations: 8 kB / 0.8375 GB, free: 6.582 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.65/1.651, allocations: 146.8 MB / 0.9809 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002907/1.654, allocations: 1.186 MB / 0.982 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001529/1.656, allocations: 391.2 kB / 0.9824 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/1.656, allocations: 0 / 0.9824 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 7.883e-05/1.656, allocations: 3.984 kB / 0.9824 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002201/1.656, allocations: 19.92 kB / 0.9824 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001265/1.657, allocations: 218.1 kB / 0.9826 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004543/1.658, allocations: 159.8 kB / 0.9828 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/1.658, allocations: 7.984 kB / 0.9828 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00042/1.658, allocations: 175.6 kB / 0.983 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003403/1.659, allocations: 119.8 kB / 0.9831 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.312e-05/1.659, allocations: 8 kB / 0.9831 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.142e-05/1.659, allocations: 12 kB / 0.9831 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001656/1.659, allocations: 83.75 kB / 0.9832 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000155/1.659, allocations: 73.58 kB / 0.9832 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000384/1.66, allocations: 205.8 kB / 0.9834 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/1.66, allocations: 0 / 0.9834 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.667e-06/1.66, allocations: 0 / 0.9834 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.338e-05/1.66, allocations: 0 / 0.9834 GB, free: 3.684 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001644/1.661, allocations: 0.6566 MB / 0.9841 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.502e-05/1.661, allocations: 8.031 kB / 0.9841 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001056/1.662, allocations: 42.55 kB / 0.9841 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/1.662, allocations: 35.56 kB / 0.9842 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005048/1.662, allocations: 254.5 kB / 0.9844 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.567e-05/1.662, allocations: 19.98 kB / 0.9844 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.071e-05/1.662, allocations: 15.95 kB / 0.9844 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/1.664, allocations: 216.5 kB / 0.9846 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/1.664, allocations: 0 / 0.9846 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.242e-05/1.664, allocations: 3.984 kB / 0.9846 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/1.664, allocations: 4 kB / 0.9846 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/1.665, allocations: 103.9 kB / 0.9847 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007098/1.666, allocations: 321.3 kB / 0.9851 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/1.667, allocations: 186.5 kB / 0.9852 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.706e-05/1.667, allocations: 3.984 kB / 0.9852 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00131/1.669, allocations: 227.1 kB / 0.9854 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 3.336e-06/1.669, allocations: 0 / 0.9854 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.003729/1.672, allocations: 490 kB / 0.9859 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001391/1.672, allocations: 59.34 kB / 0.986 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006527/1.673, allocations: 294.9 kB / 0.9863 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001352/1.673, allocations: 33.7 kB / 0.9863 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/1.673, allocations: 89.14 kB / 0.9864 GB, free: 436 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/1.674, allocations: 43.55 kB / 0.9864 GB, free: 392 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.294e-05/1.674, allocations: 8 kB / 0.9864 GB, free: 384 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002919/1.674, allocations: 322.8 kB / 0.9867 GB, free: 52 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003619/1.674, allocations: 87.94 kB / 0.9868 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003719/1.675, allocations: 135.4 kB / 0.9869 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004568/1.675, allocations: 152.2 kB / 0.9871 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/1.675, allocations: 0 / 0.9871 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001159/1.676, allocations: 398.5 kB / 0.9875 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001514/1.677, allocations: 76.62 kB / 0.9875 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/1.677, allocations: 192 / 0.9875 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.834e-05/1.677, allocations: 8 kB / 0.9875 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002742/1.677, allocations: 27.92 kB / 0.9876 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.001e-05/1.677, allocations: 3.953 kB / 0.9876 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006909/1.678, allocations: 63.8 kB / 0.9876 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/1.678, allocations: 43.98 kB / 0.9877 GB, free: 15.02 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * 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.0004135/1.678, allocations: 172 kB / 0.9878 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.942e-05/1.678, allocations: 23.66 kB / 0.9879 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/1.678, allocations: 30.3 kB / 0.9879 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/1.678, allocations: 0 / 0.9879 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/1.678, allocations: 8 kB / 0.9879 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/1.678, allocations: 3.953 kB / 0.9879 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003042/1.681, allocations: 0.7104 MB / 0.9886 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/1.682, allocations: 3.938 kB / 0.9886 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.332e-05/1.682, allocations: 8 kB / 0.9886 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.221e-05/1.682, allocations: 4 kB / 0.9886 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.559e-05/1.682, allocations: 15.97 kB / 0.9886 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/1.682, allocations: 3.953 kB / 0.9886 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.682, allocations: 0 / 0.9886 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002381/1.684, allocations: 472.3 kB / 0.9891 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005426/1.685, allocations: 156.7 kB / 0.9892 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/1.685, allocations: 12 kB / 0.9892 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006381/1.685, allocations: 35.95 kB / 0.9893 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.991e-05/1.686, allocations: 15.95 kB / 0.9893 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/1.686, allocations: 39.97 kB / 0.9893 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003747/1.686, allocations: 209.9 kB / 0.9895 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.71e-07/1.686, allocations: 0 / 0.9895 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006514/1.687, allocations: 48 kB / 0.9896 GB, free: 12.97 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002992/1.69, allocations: 1.013 MB / 0.9906 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002043/1.692, allocations: 392.5 kB / 0.9909 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/1.692, allocations: 0 / 0.9909 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001039/1.693, allocations: 124.2 kB / 0.9911 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005222/1.693, allocations: 28.59 kB / 0.9911 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00357/1.697, allocations: 1.661 MB / 0.9927 GB, free: 9.637 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006172/1.698, allocations: 0.7443 MB / 0.9934 GB, free: 8.867 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001175/1.698, allocations: 17.06 kB / 0.9935 GB, free: 8.852 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.83e-05/1.698, allocations: 27.42 kB / 0.9935 GB, free: 8.824 MB / 0.7481 GB Notification: Performance of SimCode: time 1.493e-06/1.698, allocations: 0 / 0.9935 GB, free: 8.824 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03206/1.73, allocations: 4.492 MB / 0.9979 GB, free: 4.5 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003989/1.73, allocations: 200.1 kB / 0.9981 GB, free: 4.258 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.241/4.972, allocations: 0 / 0.9981 GB, free: 4.258 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat does not exist to compare? outputFormat=mat