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.001535/0.001535, allocations: 99.62 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.001818/0.001818, allocations: 177.3 kB / 15.95 MB, free: 216 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.972/2.972, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.342/5.342, allocations: 409.2 MB / 0.6838 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007012/0.0007013, allocations: 12 kB / 0.8375 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.714/1.715, allocations: 146.8 MB / 0.9809 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.003509/1.719, allocations: 1.175 MB / 0.982 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001795/1.721, allocations: 391.1 kB / 0.9824 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/1.721, allocations: 0 / 0.9824 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 7.657e-05/1.721, allocations: 7.938 kB / 0.9824 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002446/1.721, allocations: 23.95 kB / 0.9824 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001427/1.723, allocations: 214.4 kB / 0.9826 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004493/1.723, allocations: 151.7 kB / 0.9828 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/1.723, allocations: 15.97 kB / 0.9828 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005085/1.724, allocations: 163.7 kB / 0.9829 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004192/1.724, allocations: 131.7 kB / 0.9831 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.089e-05/1.724, allocations: 12 kB / 0.9831 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.637e-05/1.724, allocations: 8 kB / 0.9831 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002267/1.725, allocations: 87.78 kB / 0.9832 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001575/1.725, allocations: 69.58 kB / 0.9832 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004809/1.725, allocations: 205.8 kB / 0.9834 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/1.725, allocations: 3.938 kB / 0.9834 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.167e-06/1.725, allocations: 0 / 0.9834 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.948e-06/1.725, allocations: 4 kB / 0.9834 GB, free: 3.652 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.001873/1.727, allocations: 0.6488 MB / 0.9841 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.927e-05/1.727, allocations: 16.03 kB / 0.9841 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.439e-05/1.727, allocations: 38.55 kB / 0.9841 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/1.728, allocations: 39.56 kB / 0.9842 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005394/1.728, allocations: 250.6 kB / 0.9844 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.997e-05/1.728, allocations: 15.98 kB / 0.9844 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/1.728, allocations: 27.94 kB / 0.9844 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/1.73, allocations: 209.4 kB / 0.9846 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/1.73, allocations: 4 kB / 0.9846 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.801e-05/1.73, allocations: 4 kB / 0.9846 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/1.73, allocations: 0 / 0.9846 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/1.731, allocations: 111.9 kB / 0.9847 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007044/1.732, allocations: 313.3 kB / 0.985 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/1.734, allocations: 190.5 kB / 0.9852 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.015e-05/1.734, allocations: 4 kB / 0.9852 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001563/1.735, allocations: 224.6 kB / 0.9854 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 2.895e-06/1.735, allocations: 0 / 0.9854 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.004249/1.74, allocations: 477 kB / 0.9859 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/1.74, allocations: 59.41 kB / 0.986 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006399/1.74, allocations: 290.9 kB / 0.9862 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001387/1.741, allocations: 45.62 kB / 0.9863 GB, free: 500 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/1.741, allocations: 93.14 kB / 0.9864 GB, free: 404 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.192e-05/1.741, allocations: 39.53 kB / 0.9864 GB, free: 364 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.169e-05/1.741, allocations: 4 kB / 0.9864 GB, free: 360 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002594/1.741, allocations: 326.8 kB / 0.9867 GB, free: 24 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003697/1.742, allocations: 87.88 kB / 0.9868 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004147/1.742, allocations: 135.4 kB / 0.9869 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003911/1.742, allocations: 152.6 kB / 0.9871 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/1.742, allocations: 0 / 0.9871 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001179/1.744, allocations: 395.3 kB / 0.9875 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001342/1.744, allocations: 79.56 kB / 0.9875 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/1.744, allocations: 8 kB / 0.9875 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.134e-05/1.744, allocations: 4 kB / 0.9875 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003284/1.744, allocations: 15.98 kB / 0.9876 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-05/1.744, allocations: 11.89 kB / 0.9876 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008053/1.745, allocations: 71.73 kB / 0.9876 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/1.745, allocations: 43.98 kB / 0.9877 GB, free: 14.98 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.0004308/1.746, allocations: 164 kB / 0.9878 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.845e-05/1.746, allocations: 23.72 kB / 0.9879 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/1.746, allocations: 30.3 kB / 0.9879 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/1.746, allocations: 3.938 kB / 0.9879 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/1.746, allocations: 0 / 0.9879 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/1.746, allocations: 7.891 kB / 0.9879 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003708/1.75, allocations: 0.709 MB / 0.9886 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/1.75, allocations: 7.922 kB / 0.9886 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.384e-05/1.75, allocations: 4 kB / 0.9886 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/1.75, allocations: 3.938 kB / 0.9886 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.799e-05/1.75, allocations: 19.97 kB / 0.9886 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-05/1.75, allocations: 7.953 kB / 0.9886 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.75, allocations: 0 / 0.9886 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002837/1.753, allocations: 464.5 kB / 0.9891 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003875/1.753, allocations: 160.7 kB / 0.9892 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/1.753, allocations: 8 kB / 0.9892 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007468/1.754, allocations: 35.97 kB / 0.9893 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.589e-05/1.754, allocations: 11.94 kB / 0.9893 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/1.754, allocations: 51.97 kB / 0.9893 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003893/1.755, allocations: 209.9 kB / 0.9895 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of sort global known variables: time 5.41e-07/1.755, allocations: 0 / 0.9895 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006993/1.755, allocations: 44 kB / 0.9896 GB, free: 12.94 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.003677/1.759, allocations: 1.014 MB / 0.9906 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00212/1.761, allocations: 398.5 kB / 0.9909 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/1.761, allocations: 0 / 0.9909 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001299/1.763, allocations: 124.3 kB / 0.9911 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000532/1.763, allocations: 24.53 kB / 0.9911 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003923/1.767, allocations: 1.655 MB / 0.9927 GB, free: 9.609 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009106/1.768, allocations: 0.7445 MB / 0.9934 GB, free: 8.84 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001403/1.768, allocations: 17.08 kB / 0.9934 GB, free: 8.824 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/1.768, allocations: 23.42 kB / 0.9935 GB, free: 8.801 MB / 0.7481 GB Notification: Performance of SimCode: time 1.403e-06/1.768, allocations: 0 / 0.9935 GB, free: 8.801 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03202/1.8, allocations: 4.486 MB / 0.9979 GB, free: 4.473 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000405/1.801, allocations: 200.9 kB / 0.998 GB, free: 4.223 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.112/4.913, allocations: 0 / 0.998 GB, free: 4.223 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