Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonths",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.001021/0.001021, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001318/0.001318, allocations: 172.7 kB / 15.95 MB, free: 208 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.451/1.451, allocations: 223.3 MB / 240 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.596/2.596, allocations: 409.4 MB / 0.684 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003025/0.0003027, allocations: 8 kB / 0.8378 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8045/0.8048, allocations: 146.8 MB / 0.9811 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001889/0.8068, allocations: 1.179 MB / 0.9823 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009945/0.8078, allocations: 412.8 kB / 0.9827 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.319e-05/0.8079, allocations: 4 kB / 0.9827 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.226e-05/0.808, allocations: 3.938 kB / 0.9827 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.8081, allocations: 27.78 kB / 0.9827 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006479/0.8088, allocations: 218.3 kB / 0.9829 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002949/0.8091, allocations: 251.5 kB / 0.9832 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.988e-05/0.8091, allocations: 11.98 kB / 0.9832 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003583/0.8095, allocations: 227.6 kB / 0.9834 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002385/0.8097, allocations: 131.7 kB / 0.9835 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.507e-05/0.8098, allocations: 12 kB / 0.9835 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 4.548e-05/0.8099, allocations: 8 kB / 0.9835 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.81, allocations: 83.77 kB / 0.9836 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.036e-05/0.8101, allocations: 69.58 kB / 0.9837 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002441/0.8103, allocations: 201.8 kB / 0.9839 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 9.918e-06/0.8104, allocations: 4 kB / 0.9839 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8104, allocations: 0 / 0.9839 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.8104, allocations: 4 kB / 0.9839 GB, free: 3.371 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.001103/0.8115, allocations: 0.6604 MB / 0.9845 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.357e-05/0.8116, allocations: 8.031 kB / 0.9845 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.588e-05/0.8116, allocations: 38.56 kB / 0.9846 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.606e-05/0.8117, allocations: 35.61 kB / 0.9846 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003564/0.8121, allocations: 250.5 kB / 0.9848 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.762e-05/0.8121, allocations: 19.97 kB / 0.9849 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.96e-05/0.8122, allocations: 19.95 kB / 0.9849 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008836/0.8131, allocations: 216.4 kB / 0.9851 GB, free: 2 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.8131, allocations: 0 / 0.9851 GB, free: 2 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.8131, allocations: 4 kB / 0.9851 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.8132, allocations: 4 kB / 0.9851 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006492/0.8138, allocations: 103.9 kB / 0.9852 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003811/0.8142, allocations: 325.3 kB / 0.9855 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009195/0.8151, allocations: 186.4 kB / 0.9857 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006337/0.8158, allocations: 120.7 kB / 0.9858 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/0.8158, allocations: 3.984 kB / 0.9858 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008351/0.8167, allocations: 224.6 kB / 0.986 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.8167, allocations: 0 / 0.986 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.002134/0.8188, allocations: 478.5 kB / 0.9865 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.8189, allocations: 63.33 kB / 0.9865 GB, free: 440 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003046/0.8192, allocations: 294.9 kB / 0.9868 GB, free: 132 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.281e-05/0.8192, allocations: 33.7 kB / 0.9868 GB, free: 92 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.8193, allocations: 97.2 kB / 0.9869 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.894e-05/0.8194, allocations: 43.39 kB / 0.987 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.032e-05/0.8194, allocations: 8 kB / 0.987 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.8196, allocations: 322.8 kB / 0.9873 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.8198, allocations: 83.95 kB / 0.9874 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/0.82, allocations: 143.4 kB / 0.9875 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000219/0.8202, allocations: 143.4 kB / 0.9876 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.8203, allocations: 4 kB / 0.9876 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000636/0.8209, allocations: 397.9 kB / 0.988 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 7.156e-05/0.821, allocations: 71.39 kB / 0.9881 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.821, allocations: 4 kB / 0.9881 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.821, allocations: 4 kB / 0.9881 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.8212, allocations: 27.91 kB / 0.9881 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.8212, allocations: 7.953 kB / 0.9881 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004221/0.8216, allocations: 67.98 kB / 0.9882 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.457e-05/0.8217, allocations: 39.98 kB / 0.9882 GB, free: 14.58 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.0001909/0.8219, allocations: 164 kB / 0.9884 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.052e-05/0.822, allocations: 23.72 kB / 0.9884 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.235e-05/0.822, allocations: 30.3 kB / 0.9884 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.822, allocations: 4 kB / 0.9885 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.822, allocations: 0 / 0.9885 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.8221, allocations: 11.92 kB / 0.9885 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00193/0.824, allocations: 0.7137 MB / 0.9892 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.824, allocations: 0 / 0.9892 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.51e-05/0.8241, allocations: 4 kB / 0.9892 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.8241, allocations: 3.984 kB / 0.9892 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.349e-05/0.8241, allocations: 19.94 kB / 0.9892 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.8241, allocations: 8 kB / 0.9892 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.8241, allocations: 0 / 0.9892 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001498/0.8256, allocations: 465.4 kB / 0.9896 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/0.8258, allocations: 156.7 kB / 0.9898 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.111e-05/0.8259, allocations: 11.98 kB / 0.9898 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003962/0.8263, allocations: 43.92 kB / 0.9898 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.8263, allocations: 11.92 kB / 0.9899 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.638e-05/0.8264, allocations: 47.91 kB / 0.9899 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001958/0.8266, allocations: 201.9 kB / 0.9901 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8266, allocations: 4 kB / 0.9901 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003216/0.8269, allocations: 51.98 kB / 0.9901 GB, free: 12.54 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.001832/0.8288, allocations: 1.001 MB / 0.9911 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001052/0.8298, allocations: 398.5 kB / 0.9915 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.8299, allocations: 0 / 0.9915 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006557/0.8305, allocations: 129.8 kB / 0.9916 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.8309, allocations: 25.34 kB / 0.9917 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002397/0.8333, allocations: 1.189 MB / 0.9928 GB, free: 9.684 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.8336, allocations: 0.7438 MB / 0.9935 GB, free: 8.914 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.979e-05/0.8337, allocations: 5.094 kB / 0.9935 GB, free: 8.91 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.052e-05/0.8338, allocations: 27.48 kB / 0.9936 GB, free: 8.883 MB / 0.7481 GB Notification: Performance of SimCode: time 7.42e-07/0.8338, allocations: 0 / 0.9936 GB, free: 8.883 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01616/0.8499, allocations: 4.526 MB / 0.998 GB, free: 4.52 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/0.8502, allocations: 199.3 kB / 0.9982 GB, free: 4.273 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.879/2.729, allocations: 0 / 0.9982 GB, free: 4.273 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat does not exist to compare? outputFormat=mat