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.0007956/0.0007955, allocations: 92.31 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.0008375/0.0008379, 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.435/1.435, allocations: 223.3 MB / 240 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.64/2.64, allocations: 409.4 MB / 0.684 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.0003761, allocations: 12 kB / 0.8378 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8259/0.8263, allocations: 146.8 MB / 0.9812 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.001744/0.8281, allocations: 1.359 MB / 0.9825 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009159/0.829, allocations: 463.2 kB / 0.9829 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.661e-05/0.8291, allocations: 7.938 kB / 0.9829 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.351e-05/0.8292, allocations: 7.922 kB / 0.9829 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.8293, allocations: 23.84 kB / 0.983 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006439/0.83, allocations: 225.1 kB / 0.9832 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003246/0.8303, allocations: 323.4 kB / 0.9835 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.8304, allocations: 25.09 kB / 0.9835 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003668/0.8308, allocations: 235.5 kB / 0.9837 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002263/0.831, allocations: 143.7 kB / 0.9839 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.046e-05/0.8311, allocations: 12 kB / 0.9839 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 4.542e-05/0.8311, allocations: 12 kB / 0.9839 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.8313, allocations: 87.77 kB / 0.984 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.265e-05/0.8314, allocations: 73.58 kB / 0.9841 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002898/0.8316, allocations: 329.4 kB / 0.9844 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.8317, allocations: 0 / 0.9844 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8317, allocations: 0 / 0.9844 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.8317, allocations: 0 / 0.9844 GB, free: 2.98 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.0009391/0.8326, allocations: 0.6759 MB / 0.985 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.8327, allocations: 19.97 kB / 0.985 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.995e-05/0.8327, allocations: 42.55 kB / 0.9851 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.581e-05/0.8328, allocations: 35.62 kB / 0.9851 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003204/0.8331, allocations: 267.1 kB / 0.9854 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.941e-05/0.8332, allocations: 27.97 kB / 0.9854 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.823e-05/0.8333, allocations: 16 kB / 0.9854 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008895/0.8342, allocations: 237.4 kB / 0.9856 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.8342, allocations: 3.938 kB / 0.9857 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.643e-05/0.8342, allocations: 8 kB / 0.9857 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.8342, allocations: 0 / 0.9857 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006954/0.8349, allocations: 133.6 kB / 0.9858 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.836, allocations: 0.5591 MB / 0.9863 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009479/0.837, allocations: 206.3 kB / 0.9865 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006876/0.8377, allocations: 120.8 kB / 0.9866 GB, free: 460 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.8377, allocations: 0 / 0.9866 GB, free: 460 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008737/0.8386, allocations: 232.5 kB / 0.9869 GB, free: 216 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 3.597e-06/0.8386, allocations: 4 kB / 0.9869 GB, free: 212 kB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.002376/0.841, allocations: 494.1 kB / 0.9873 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.841, allocations: 71.3 kB / 0.9874 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003555/0.8414, allocations: 316.4 kB / 0.9877 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.004e-05/0.8415, allocations: 37.7 kB / 0.9877 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 7.985e-05/0.8416, allocations: 97.12 kB / 0.9878 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.31e-05/0.8416, allocations: 35.47 kB / 0.9879 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.8416, allocations: 11.98 kB / 0.9879 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.8418, allocations: 326.8 kB / 0.9882 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/0.842, allocations: 91.95 kB / 0.9883 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.8423, allocations: 157.9 kB / 0.9884 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000246/0.8425, allocations: 163.3 kB / 0.9886 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.8425, allocations: 0 / 0.9886 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006775/0.8432, allocations: 422.2 kB / 0.989 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.889e-05/0.8433, allocations: 75.39 kB / 0.9891 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.8433, allocations: 0 / 0.9891 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.8433, allocations: 4 kB / 0.9891 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.8435, allocations: 27.91 kB / 0.9891 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.8435, allocations: 0 / 0.9891 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004464/0.844, allocations: 64.05 kB / 0.9892 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.331e-05/0.844, allocations: 47.97 kB / 0.9892 GB, free: 13.71 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.0001867/0.8442, allocations: 185.8 kB / 0.9894 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.301e-05/0.8443, allocations: 35.56 kB / 0.9894 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.033e-05/0.8444, allocations: 34.36 kB / 0.9894 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.8444, allocations: 0 / 0.9894 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.8444, allocations: 0 / 0.9894 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.8444, allocations: 3.984 kB / 0.9894 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001882/0.8463, allocations: 0.7481 MB / 0.9902 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.8463, allocations: 4 kB / 0.9902 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.568e-05/0.8463, allocations: 4 kB / 0.9902 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.8463, allocations: 4 kB / 0.9902 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.224e-05/0.8464, allocations: 15.97 kB / 0.9902 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.8464, allocations: 3.938 kB / 0.9902 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.8464, allocations: 0 / 0.9902 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001535/0.8479, allocations: 484.5 kB / 0.9907 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002014/0.8482, allocations: 192.6 kB / 0.9909 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.146e-05/0.8482, allocations: 23.98 kB / 0.9909 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004222/0.8487, allocations: 31.97 kB / 0.9909 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.8487, allocations: 11.98 kB / 0.9909 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.391e-05/0.8488, allocations: 39.97 kB / 0.991 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002163/0.849, allocations: 227 kB / 0.9912 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.31e-07/0.849, allocations: 4 kB / 0.9912 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003316/0.8493, allocations: 48 kB / 0.9912 GB, free: 11.53 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.001866/0.8512, allocations: 1.034 MB / 0.9922 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001136/0.8524, allocations: 410.6 kB / 0.9926 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.8524, allocations: 4 kB / 0.9926 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006991/0.8531, allocations: 131 kB / 0.9928 GB, free: 9.918 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.8535, allocations: 34.05 kB / 0.9928 GB, free: 9.887 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002695/0.8562, allocations: 1.32 MB / 0.9941 GB, free: 8.496 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.8565, allocations: 0.7516 MB / 0.9948 GB, free: 7.719 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.262e-05/0.8566, allocations: 17.42 kB / 0.9948 GB, free: 7.699 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.86e-05/0.8567, allocations: 31.42 kB / 0.9949 GB, free: 7.672 MB / 0.7481 GB Notification: Performance of SimCode: time 5.61e-07/0.8567, allocations: 0 / 0.9949 GB, free: 7.672 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01626/0.873, allocations: 5.055 MB / 0.9998 GB, free: 2.836 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001862/0.8732, allocations: 237.1 kB / 1 GB, free: 2.578 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.915/2.788, allocations: 4 kB / 1 GB, free: 2.574 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