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.001866/0.001866, allocations: 99.55 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.002377/0.002377, allocations: 177.3 kB / 15.94 MB, free: 228 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.388/2.388, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.401/4.401, allocations: 409.2 MB / 0.6838 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0008465/0.0008467, allocations: 12 kB / 0.8375 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.587/1.588, allocations: 146.8 MB / 0.9809 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.003078/1.591, allocations: 1.352 MB / 0.9822 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001572/1.593, allocations: 449.7 kB / 0.9826 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/1.593, allocations: 4 kB / 0.9827 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 8.334e-05/1.593, allocations: 7.922 kB / 0.9827 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002347/1.594, allocations: 35.94 kB / 0.9827 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0012/1.595, allocations: 210.3 kB / 0.9829 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004827/1.595, allocations: 191.7 kB / 0.9831 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001888/1.595, allocations: 25.09 kB / 0.9831 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004735/1.596, allocations: 191.5 kB / 0.9833 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004181/1.596, allocations: 127.7 kB / 0.9834 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.739e-05/1.597, allocations: 15.94 kB / 0.9834 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.78e-05/1.597, allocations: 8 kB / 0.9834 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002036/1.597, allocations: 79.78 kB / 0.9835 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001739/1.597, allocations: 77.58 kB / 0.9836 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005954/1.598, allocations: 329.4 kB / 0.9839 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/1.598, allocations: 0 / 0.9839 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of FrontEnd: time 5.11e-06/1.598, allocations: 0 / 0.9839 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.315e-05/1.598, allocations: 0 / 0.9839 GB, free: 3.234 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.001727/1.599, allocations: 0.6798 MB / 0.9846 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.896e-05/1.599, allocations: 8.031 kB / 0.9846 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001084/1.6, allocations: 46.48 kB / 0.9846 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001525/1.6, allocations: 35.62 kB / 0.9846 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006662/1.6, allocations: 287 kB / 0.9849 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.832e-05/1.601, allocations: 16 kB / 0.9849 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.646e-05/1.601, allocations: 16 kB / 0.9849 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/1.602, allocations: 234.8 kB / 0.9852 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/1.602, allocations: 0 / 0.9852 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.929e-05/1.602, allocations: 11.98 kB / 0.9852 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/1.602, allocations: 0 / 0.9852 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/1.603, allocations: 127.8 kB / 0.9853 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001912/1.605, allocations: 0.5708 MB / 0.9859 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/1.607, allocations: 190.4 kB / 0.986 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.365e-05/1.607, allocations: 4.25 kB / 0.986 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001354/1.608, allocations: 227.2 kB / 0.9863 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 3.587e-06/1.608, allocations: 3.938 kB / 0.9863 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.003557/1.612, allocations: 493.8 kB / 0.9867 GB, free: 104 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.323e-05/1.612, allocations: 67.33 kB / 0.9868 GB, free: 24 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000593/1.612, allocations: 312.5 kB / 0.9871 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.000103/1.613, allocations: 41.7 kB / 0.9871 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/1.613, allocations: 101.1 kB / 0.9872 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.263e-05/1.613, allocations: 39.38 kB / 0.9873 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/1.613, allocations: 7.984 kB / 0.9873 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0003764/1.613, allocations: 330.8 kB / 0.9876 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003111/1.614, allocations: 87.95 kB / 0.9877 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003874/1.614, allocations: 153.9 kB / 0.9878 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003641/1.614, allocations: 163.4 kB / 0.988 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/1.614, allocations: 0 / 0.988 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001094/1.615, allocations: 417.8 kB / 0.9884 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001258/1.616, allocations: 75.58 kB / 0.9885 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/1.616, allocations: 8 kB / 0.9885 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/1.616, allocations: 0 / 0.9885 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002454/1.616, allocations: 27.91 kB / 0.9885 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.546e-05/1.616, allocations: 7.938 kB / 0.9885 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007141/1.617, allocations: 63.86 kB / 0.9886 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/1.617, allocations: 43.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.0004393/1.617, allocations: 184.3 kB / 0.9888 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.834e-05/1.617, allocations: 31.58 kB / 0.9888 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/1.617, allocations: 30.36 kB / 0.9888 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/1.617, allocations: 0 / 0.9888 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-05/1.617, allocations: 4 kB / 0.9888 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/1.618, allocations: 7.984 kB / 0.9888 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003248/1.621, allocations: 0.7645 MB / 0.9896 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/1.621, allocations: 0 / 0.9896 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.521e-05/1.621, allocations: 4 kB / 0.9896 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/1.621, allocations: 0 / 0.9896 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.069e-05/1.621, allocations: 15.97 kB / 0.9896 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/1.621, allocations: 0 / 0.9896 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/1.621, allocations: 4 kB / 0.9896 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002501/1.623, allocations: 476.7 kB / 0.9901 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004471/1.624, allocations: 192.6 kB / 0.9903 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/1.624, allocations: 19.98 kB / 0.9903 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006509/1.625, allocations: 35.97 kB / 0.9903 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.814e-05/1.625, allocations: 15.92 kB / 0.9903 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001095/1.625, allocations: 43.97 kB / 0.9904 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004416/1.625, allocations: 231 kB / 0.9906 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.91e-07/1.625, allocations: 0 / 0.9906 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006928/1.626, allocations: 48 kB / 0.9906 GB, free: 11.91 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.003079/1.629, allocations: 1.034 MB / 0.9916 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001802/1.631, allocations: 414.5 kB / 0.992 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/1.631, allocations: 0 / 0.992 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001136/1.632, allocations: 132.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.0005092/1.633, allocations: 30.03 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.003542/1.636, allocations: 1.704 MB / 0.9939 GB, free: 8.484 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005696/1.637, allocations: 0.7594 MB / 0.9946 GB, free: 7.699 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001425/1.637, allocations: 17.42 kB / 0.9946 GB, free: 7.68 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.96e-05/1.637, allocations: 27.42 kB / 0.9946 GB, free: 7.656 MB / 0.7481 GB Notification: Performance of SimCode: time 1.453e-06/1.637, allocations: 0 / 0.9946 GB, free: 7.656 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03046/1.668, allocations: 5.041 MB / 0.9996 GB, free: 2.859 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003836/1.668, allocations: 214.3 kB / 0.9998 GB, free: 2.621 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.719/4.387, allocations: 0 / 0.9998 GB, free: 2.621 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