Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.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.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_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.001464/0.001464, allocations: 98.69 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.001901/0.001901, 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.198/2.198, 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 4.312/4.312, allocations: 409.2 MB / 0.6838 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006975/0.0006978, allocations: 12 kB / 0.8375 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.485/1.486, allocations: 146.8 MB / 0.9809 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.003692/1.49, allocations: 1.359 MB / 0.9822 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001683/1.491, allocations: 455.1 kB / 0.9827 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/1.492, allocations: 4 kB / 0.9827 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 8.469e-05/1.492, allocations: 3.938 kB / 0.9827 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002616/1.492, allocations: 27.89 kB / 0.9827 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00116/1.493, allocations: 218.7 kB / 0.9829 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004637/1.494, allocations: 183.7 kB / 0.9831 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002375/1.494, allocations: 37.03 kB / 0.9831 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004485/1.494, allocations: 175.6 kB / 0.9833 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003685/1.495, allocations: 135.7 kB / 0.9834 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.301e-05/1.495, allocations: 12 kB / 0.9834 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.005e-05/1.495, allocations: 8 kB / 0.9834 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001868/1.495, allocations: 75.78 kB / 0.9835 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001561/1.495, allocations: 81.58 kB / 0.9836 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000588/1.496, allocations: 325.4 kB / 0.9839 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/1.496, allocations: 0 / 0.9839 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.045e-06/1.496, allocations: 0 / 0.9839 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.345e-06/1.496, allocations: 8 kB / 0.9839 GB, free: 3.223 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.001815/1.498, allocations: 0.6837 MB / 0.9846 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.876e-05/1.498, allocations: 8.031 kB / 0.9846 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.885e-05/1.498, allocations: 38.56 kB / 0.9846 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001471/1.498, allocations: 43.61 kB / 0.9846 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005527/1.499, allocations: 275 kB / 0.9849 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.126e-05/1.499, allocations: 16 kB / 0.9849 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.699e-05/1.499, allocations: 27.98 kB / 0.985 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/1.5, allocations: 233.4 kB / 0.9852 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/1.5, allocations: 0 / 0.9852 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.058e-05/1.5, allocations: 3.984 kB / 0.9852 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/1.5, allocations: 8 kB / 0.9852 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/1.501, allocations: 125.1 kB / 0.9853 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001785/1.503, allocations: 0.5668 MB / 0.9859 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/1.505, allocations: 194.5 kB / 0.986 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.318e-05/1.505, allocations: 8.188 kB / 0.9861 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00146/1.506, allocations: 223.2 kB / 0.9863 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 4.308e-06/1.506, allocations: 0 / 0.9863 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.003614/1.51, allocations: 498.1 kB / 0.9867 GB, free: 92 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.155e-05/1.51, allocations: 63.41 kB / 0.9868 GB, free: 16 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007043/1.511, allocations: 316.4 kB / 0.9871 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001031/1.511, allocations: 37.7 kB / 0.9871 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/1.511, allocations: 97.12 kB / 0.9872 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.758e-05/1.511, allocations: 43.44 kB / 0.9873 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/1.511, allocations: 8 kB / 0.9873 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002356/1.511, allocations: 326.8 kB / 0.9876 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003284/1.512, allocations: 95.94 kB / 0.9877 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003686/1.512, allocations: 153.9 kB / 0.9878 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000387/1.512, allocations: 159.3 kB / 0.988 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/1.512, allocations: 4 kB / 0.988 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001059/1.513, allocations: 414.2 kB / 0.9884 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001265/1.514, allocations: 75.39 kB / 0.9885 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.096e-05/1.514, allocations: 7.984 kB / 0.9885 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.677e-05/1.514, allocations: 7.938 kB / 0.9885 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/1.514, allocations: 23.92 kB / 0.9885 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/1.514, allocations: 4 kB / 0.9885 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006975/1.515, allocations: 63.89 kB / 0.9886 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000251/1.515, allocations: 39.98 kB / 0.9886 GB, free: 14.09 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.0005247/1.515, allocations: 188.3 kB / 0.9888 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002031/1.516, allocations: 35.56 kB / 0.9888 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/1.516, allocations: 30.36 kB / 0.9888 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/1.516, allocations: 4 kB / 0.9888 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/1.516, allocations: 0 / 0.9888 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/1.516, allocations: 4 kB / 0.9888 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00302/1.519, allocations: 0.7564 MB / 0.9896 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.269e-06/1.519, allocations: 0 / 0.9896 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.415e-05/1.519, allocations: 7.938 kB / 0.9896 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.106e-06/1.519, allocations: 0 / 0.9896 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.358e-05/1.519, allocations: 19.97 kB / 0.9896 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.767e-06/1.519, allocations: 4 kB / 0.9896 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.519, allocations: 4 kB / 0.9896 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002685/1.522, allocations: 480.5 kB / 0.9901 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003883/1.522, allocations: 188.6 kB / 0.9903 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/1.522, allocations: 23.94 kB / 0.9903 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006801/1.523, allocations: 35.97 kB / 0.9903 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.085e-05/1.523, allocations: 7.984 kB / 0.9903 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/1.523, allocations: 47.97 kB / 0.9904 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005642/1.524, allocations: 223 kB / 0.9906 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.3e-07/1.524, allocations: 0 / 0.9906 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007171/1.525, allocations: 52 kB / 0.9906 GB, free: 11.9 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.003088/1.528, allocations: 1.034 MB / 0.9916 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001731/1.529, allocations: 406.6 kB / 0.992 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.529, allocations: 0 / 0.992 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001076/1.53, allocations: 135.2 kB / 0.9922 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000474/1.531, allocations: 28.62 kB / 0.9922 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003414/1.534, allocations: 1.706 MB / 0.9938 GB, free: 8.48 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005524/1.535, allocations: 0.7594 MB / 0.9946 GB, free: 7.695 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001137/1.535, allocations: 25.39 kB / 0.9946 GB, free: 7.668 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.721e-05/1.535, allocations: 31.42 kB / 0.9946 GB, free: 7.641 MB / 0.7481 GB Notification: Performance of SimCode: time 1.172e-06/1.535, allocations: 4 kB / 0.9946 GB, free: 7.637 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02665/1.562, allocations: 5.02 MB / 0.9995 GB, free: 2.84 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003183/1.562, allocations: 222.3 kB / 0.9998 GB, free: 2.586 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.773/4.335, allocations: 0 / 0.9998 GB, free: 2.586 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.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.CalendarTimeMonths_res.mat does not exist to compare? outputFormat=mat