Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus",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.001167/0.001167, allocations: 91.77 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.001487/0.001487, 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.4/1.4, allocations: 223.3 MB / 240 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.509/2.509, allocations: 409.4 MB / 0.684 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003725/0.0003726, allocations: 12 kB / 0.8378 GB, free: 6.465 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8369/0.8373, allocations: 146.8 MB / 0.9812 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.001916/0.8393, allocations: 1.359 MB / 0.9825 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009469/0.8402, allocations: 475 kB / 0.9829 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.773e-05/0.8403, allocations: 0 / 0.9829 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 7.854e-05/0.8404, allocations: 7.922 kB / 0.983 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.8405, allocations: 27.84 kB / 0.983 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006864/0.8412, allocations: 214.6 kB / 0.9832 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003803/0.8416, allocations: 319.5 kB / 0.9835 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.8417, allocations: 37.06 kB / 0.9835 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004053/0.8422, allocations: 231.5 kB / 0.9837 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002549/0.8424, allocations: 139.7 kB / 0.9839 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.743e-05/0.8425, allocations: 12 kB / 0.9839 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.164e-05/0.8425, allocations: 8 kB / 0.9839 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.8427, allocations: 87.77 kB / 0.984 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.045e-05/0.8428, allocations: 73.58 kB / 0.9841 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002967/0.8431, allocations: 337.4 kB / 0.9844 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.8431, allocations: 0 / 0.9844 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.373e-06/0.8431, allocations: 0 / 0.9844 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.8431, allocations: 4 kB / 0.9844 GB, free: 2.957 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.0009892/0.8441, allocations: 0.6759 MB / 0.985 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.8441, allocations: 12.03 kB / 0.9851 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.378e-05/0.8442, allocations: 46.55 kB / 0.9851 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.336e-05/0.8443, allocations: 35.62 kB / 0.9851 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/0.8446, allocations: 275.1 kB / 0.9854 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.683e-05/0.8447, allocations: 19.94 kB / 0.9854 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.786e-05/0.8448, allocations: 24 kB / 0.9854 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009296/0.8457, allocations: 226.5 kB / 0.9857 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.8457, allocations: 0 / 0.9857 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.814e-05/0.8458, allocations: 11.98 kB / 0.9857 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.8458, allocations: 4 kB / 0.9857 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007032/0.8465, allocations: 119.9 kB / 0.9858 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.8475, allocations: 0.5746 MB / 0.9863 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009294/0.8485, allocations: 190.5 kB / 0.9865 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006877/0.8492, allocations: 124.8 kB / 0.9866 GB, free: 448 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.8492, allocations: 7.922 kB / 0.9866 GB, free: 440 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008577/0.8501, allocations: 227.2 kB / 0.9869 GB, free: 200 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 3.747e-06/0.8501, allocations: 0 / 0.9869 GB, free: 200 kB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.002256/0.8524, allocations: 0.49 MB / 0.9873 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.8524, allocations: 59.41 kB / 0.9874 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003164/0.8527, allocations: 316.4 kB / 0.9877 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.39e-05/0.8528, allocations: 37.7 kB / 0.9877 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 8.733e-05/0.8529, allocations: 97.06 kB / 0.9878 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.685e-05/0.853, allocations: 47.44 kB / 0.9879 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.135e-05/0.853, allocations: 12 kB / 0.9879 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.917e-05/0.8531, allocations: 326.8 kB / 0.9882 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/0.8533, allocations: 91.95 kB / 0.9883 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002337/0.8536, allocations: 157.8 kB / 0.9884 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/0.8538, allocations: 160.9 kB / 0.9886 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.8538, allocations: 0 / 0.9886 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006723/0.8545, allocations: 412.7 kB / 0.989 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.999e-05/0.8546, allocations: 75.39 kB / 0.9891 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.8546, allocations: 0 / 0.9891 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.8546, allocations: 8.188 kB / 0.9891 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.8548, allocations: 31.91 kB / 0.9891 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.8548, allocations: 0 / 0.9891 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004515/0.8553, allocations: 59.8 kB / 0.9892 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.649e-05/0.8553, allocations: 43.98 kB / 0.9892 GB, free: 13.7 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.0002142/0.8556, allocations: 193.8 kB / 0.9894 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.139e-05/0.8556, allocations: 35.56 kB / 0.9894 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.922e-05/0.8557, allocations: 34.36 kB / 0.9894 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.8557, allocations: 0 / 0.9894 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.8557, allocations: 0 / 0.9894 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.8557, allocations: 0 / 0.9894 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001961/0.8577, allocations: 0.7571 MB / 0.9902 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.8577, allocations: 0 / 0.9902 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.672e-05/0.8577, allocations: 4 kB / 0.9902 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.8578, allocations: 0 / 0.9902 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.886e-05/0.8578, allocations: 19.97 kB / 0.9902 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-05/0.8578, allocations: 4 kB / 0.9902 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.8578, allocations: 0 / 0.9902 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/0.8594, allocations: 488.2 kB / 0.9907 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002012/0.8596, allocations: 188.6 kB / 0.9909 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.221e-05/0.8597, allocations: 16 kB / 0.9909 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004239/0.8601, allocations: 35.97 kB / 0.9909 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.8601, allocations: 11.98 kB / 0.9909 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.518e-05/0.8602, allocations: 43.91 kB / 0.991 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002219/0.8604, allocations: 231 kB / 0.9912 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8604, allocations: 0 / 0.9912 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003587/0.8608, allocations: 51.94 kB / 0.9912 GB, free: 11.51 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.001939/0.8628, allocations: 1.042 MB / 0.9922 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001094/0.8639, allocations: 410.5 kB / 0.9926 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.8639, allocations: 0 / 0.9926 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007724/0.8647, allocations: 123.9 kB / 0.9928 GB, free: 9.898 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.8651, allocations: 34.42 kB / 0.9928 GB, free: 9.867 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002798/0.8679, allocations: 1.331 MB / 0.9941 GB, free: 8.469 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.8682, allocations: 0.7516 MB / 0.9948 GB, free: 7.691 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.799e-05/0.8683, allocations: 13.42 kB / 0.9948 GB, free: 7.676 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.961e-05/0.8684, allocations: 35.42 kB / 0.9949 GB, free: 7.645 MB / 0.7481 GB Notification: Performance of SimCode: time 5.51e-07/0.8684, allocations: 0 / 0.9949 GB, free: 7.645 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01703/0.8854, allocations: 5.067 MB / 0.9998 GB, free: 2.824 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/0.8857, allocations: 228.5 kB / 1 GB, free: 2.578 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.824/2.71, allocations: 2.391 kB / 1 GB, free: 2.578 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus_res.mat does not exist to compare? outputFormat=mat