Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.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.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_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.001086/0.001086, allocations: 90.75 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.001371/0.001371, 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.437/1.437, allocations: 223.2 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.547/2.547, allocations: 409.4 MB / 0.684 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004071/0.0004072, allocations: 16 kB / 0.8378 GB, free: 6.469 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7423/0.7427, allocations: 146.8 MB / 0.9812 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.00183/0.7446, allocations: 1.355 MB / 0.9825 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009224/0.7456, allocations: 467.1 kB / 0.9829 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.453e-05/0.7456, allocations: 4 kB / 0.9829 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 8.404e-05/0.7457, allocations: 7.922 kB / 0.983 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.7458, allocations: 27.84 kB / 0.983 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006973/0.7465, allocations: 222.8 kB / 0.9832 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004249/0.747, allocations: 319.5 kB / 0.9835 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.7471, allocations: 29.08 kB / 0.9835 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003582/0.7475, allocations: 231.5 kB / 0.9837 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000227/0.7477, allocations: 143.7 kB / 0.9839 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.975e-05/0.7477, allocations: 12 kB / 0.9839 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 4.662e-05/0.7478, allocations: 8 kB / 0.9839 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.7479, allocations: 87.77 kB / 0.984 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.508e-05/0.748, allocations: 77.58 kB / 0.9841 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002877/0.7483, allocations: 329.4 kB / 0.9844 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.7483, allocations: 0 / 0.9844 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.984e-06/0.7483, allocations: 0 / 0.9844 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.7483, allocations: 0 / 0.9844 GB, free: 2.996 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.00103/0.7494, allocations: 0.6798 MB / 0.985 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.7494, allocations: 16.02 kB / 0.9851 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.176e-05/0.7495, allocations: 34.56 kB / 0.9851 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.129e-05/0.7496, allocations: 43.61 kB / 0.9851 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.7499, allocations: 275.1 kB / 0.9854 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.042e-05/0.75, allocations: 16 kB / 0.9854 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.173e-05/0.75, allocations: 27.92 kB / 0.9854 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.751, allocations: 234.9 kB / 0.9857 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.7511, allocations: 0 / 0.9857 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.586e-05/0.7511, allocations: 3.984 kB / 0.9857 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.7511, allocations: 4 kB / 0.9857 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006831/0.7518, allocations: 123.9 kB / 0.9858 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.7529, allocations: 0.5707 MB / 0.9863 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009156/0.7538, allocations: 194.5 kB / 0.9865 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006705/0.7545, allocations: 128.8 kB / 0.9866 GB, free: 476 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.993e-05/0.7546, allocations: 3.984 kB / 0.9867 GB, free: 472 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008501/0.7554, allocations: 223.2 kB / 0.9869 GB, free: 236 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 4.649e-06/0.7554, allocations: 0 / 0.9869 GB, free: 236 kB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.002256/0.7577, allocations: 0.4944 MB / 0.9873 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.7578, allocations: 59.41 kB / 0.9874 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003476/0.7581, allocations: 316.4 kB / 0.9877 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.482e-05/0.7582, allocations: 33.7 kB / 0.9877 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 8.277e-05/0.7583, allocations: 97.12 kB / 0.9878 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.665e-05/0.7583, allocations: 43.45 kB / 0.9879 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-05/0.7583, allocations: 8 kB / 0.9879 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002461/0.7586, allocations: 322.8 kB / 0.9882 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.7588, allocations: 99.94 kB / 0.9883 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002655/0.7591, allocations: 153.9 kB / 0.9884 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002779/0.7594, allocations: 164.9 kB / 0.9886 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7594, allocations: 0 / 0.9886 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006399/0.76, allocations: 416.7 kB / 0.989 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001262/0.7601, allocations: 84.62 kB / 0.9891 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.7602, allocations: 0 / 0.9891 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.7602, allocations: 4 kB / 0.9891 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.7603, allocations: 23.92 kB / 0.9891 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.7604, allocations: 0 / 0.9891 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004115/0.7608, allocations: 71.98 kB / 0.9892 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.078e-05/0.7608, allocations: 39.98 kB / 0.9892 GB, free: 13.73 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.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition1,calTim.calTim.hourSampleTrigger,$whenCondition2,calTim.calTim.daySampleTrigger,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.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.0001962/0.761, allocations: 193.8 kB / 0.9894 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.794e-05/0.7611, allocations: 39.56 kB / 0.9894 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.776e-05/0.7612, allocations: 30.36 kB / 0.9895 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.7612, allocations: 0 / 0.9895 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.7612, allocations: 0 / 0.9895 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.7612, allocations: 0 / 0.9895 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00205/0.7633, allocations: 0.7492 MB / 0.9902 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.7633, allocations: 4 kB / 0.9902 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.967e-05/0.7633, allocations: 4 kB / 0.9902 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.7633, allocations: 7.938 kB / 0.9902 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.38e-05/0.7634, allocations: 19.97 kB / 0.9902 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.7634, allocations: 0 / 0.9902 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.7634, allocations: 0 / 0.9902 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/0.7649, allocations: 484.7 kB / 0.9907 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002338/0.7651, allocations: 192.6 kB / 0.9909 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.841e-05/0.7652, allocations: 20 kB / 0.9909 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003977/0.7656, allocations: 31.97 kB / 0.9909 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.183e-05/0.7657, allocations: 7.984 kB / 0.9909 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-05/0.7657, allocations: 47.91 kB / 0.991 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002281/0.766, allocations: 223 kB / 0.9912 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.766, allocations: 4 kB / 0.9912 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003189/0.7663, allocations: 52 kB / 0.9912 GB, free: 11.55 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.001892/0.7682, allocations: 1.04 MB / 0.9922 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00122/0.7694, allocations: 401.1 kB / 0.9926 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/0.7695, allocations: 4.375 kB / 0.9926 GB, free: 10.06 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008133/0.7703, allocations: 131.9 kB / 0.9928 GB, free: 9.934 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/0.7707, allocations: 32.62 kB / 0.9928 GB, free: 9.902 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003046/0.7738, allocations: 1.324 MB / 0.9941 GB, free: 8.508 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004393/0.7742, allocations: 0.7516 MB / 0.9948 GB, free: 7.73 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.861e-05/0.7743, allocations: 17.42 kB / 0.9948 GB, free: 7.711 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.169e-05/0.7744, allocations: 31.42 kB / 0.9949 GB, free: 7.684 MB / 0.7481 GB Notification: Performance of SimCode: time 7.91e-07/0.7744, allocations: 0 / 0.9949 GB, free: 7.684 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02349/0.7979, allocations: 5.072 MB / 0.9998 GB, free: 2.863 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003215/0.7983, allocations: 223.5 kB / 1 GB, free: 2.621 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.845/2.644, allocations: 4.062 kB / 1 GB, free: 2.617 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus_res.mat does not exist to compare? outputFormat=mat