Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_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.001069/0.001069, allocations: 91.61 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.001441/0.001441, 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.493/1.493, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.736/2.736, allocations: 409.4 MB / 0.684 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003801/0.0003802, allocations: 8 kB / 0.8378 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8724/0.8728, allocations: 146.8 MB / 0.9811 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001844/0.8747, allocations: 1.186 MB / 0.9823 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009914/0.8757, allocations: 416 kB / 0.9827 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.545e-05/0.8758, allocations: 3.938 kB / 0.9827 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.543e-05/0.8759, allocations: 7.922 kB / 0.9827 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001212/0.876, allocations: 23.91 kB / 0.9827 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007698/0.8768, allocations: 218.5 kB / 0.9829 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003492/0.8772, allocations: 247.5 kB / 0.9832 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.46e-05/0.8772, allocations: 11.97 kB / 0.9832 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000423/0.8777, allocations: 223.6 kB / 0.9834 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002975/0.878, allocations: 139.7 kB / 0.9835 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.808e-05/0.8781, allocations: 15.94 kB / 0.9835 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.104e-05/0.8781, allocations: 8 kB / 0.9835 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.8782, allocations: 83.77 kB / 0.9836 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.209e-05/0.8783, allocations: 69.58 kB / 0.9837 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002506/0.8786, allocations: 201.8 kB / 0.9839 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.8786, allocations: 4 kB / 0.9839 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.055e-06/0.8786, allocations: 0 / 0.9839 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.8786, allocations: 3.938 kB / 0.9839 GB, free: 3.434 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001022/0.8797, allocations: 0.6643 MB / 0.9845 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.8797, allocations: 8.031 kB / 0.9845 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.809e-05/0.8798, allocations: 38.56 kB / 0.9846 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.8799, allocations: 31.62 kB / 0.9846 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.8803, allocations: 250.6 kB / 0.9848 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.497e-05/0.8803, allocations: 15.98 kB / 0.9849 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.87e-05/0.8804, allocations: 19.95 kB / 0.9849 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008671/0.8813, allocations: 209.5 kB / 0.9851 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.8813, allocations: 0 / 0.9851 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.941e-05/0.8813, allocations: 11.92 kB / 0.9851 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.8813, allocations: 0 / 0.9851 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006654/0.882, allocations: 107.9 kB / 0.9852 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003577/0.8824, allocations: 321.3 kB / 0.9855 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008925/0.8833, allocations: 186.5 kB / 0.9857 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006268/0.8839, allocations: 116.8 kB / 0.9858 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.8839, allocations: 0 / 0.9858 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008489/0.8848, allocations: 227.9 kB / 0.986 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 1.864e-06/0.8848, allocations: 4 kB / 0.986 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.002215/0.887, allocations: 479.8 kB / 0.9865 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.726e-05/0.8871, allocations: 63.39 kB / 0.9865 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003132/0.8874, allocations: 290.9 kB / 0.9868 GB, free: 204 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.922e-05/0.8875, allocations: 33.7 kB / 0.9868 GB, free: 164 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.103e-05/0.8876, allocations: 105.1 kB / 0.9869 GB, free: 56 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.957e-05/0.8876, allocations: 39.53 kB / 0.987 GB, free: 16 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.8877, allocations: 8 kB / 0.987 GB, free: 8 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.8878, allocations: 322.8 kB / 0.9873 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.888, allocations: 83.95 kB / 0.9874 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002282/0.8883, allocations: 139.3 kB / 0.9875 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002289/0.8885, allocations: 152.9 kB / 0.9876 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.8885, allocations: 4 kB / 0.9877 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006592/0.8892, allocations: 388.6 kB / 0.988 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 7.305e-05/0.8893, allocations: 75.58 kB / 0.9881 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.8893, allocations: 4 kB / 0.9881 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.8893, allocations: 0 / 0.9881 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.8895, allocations: 31.84 kB / 0.9881 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.766e-05/0.8895, allocations: 7.953 kB / 0.9881 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004685/0.89, allocations: 71.73 kB / 0.9882 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.185e-05/0.8901, allocations: 43.98 kB / 0.9882 GB, free: 14.64 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.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,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.0002057/0.8903, allocations: 164 kB / 0.9884 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.023e-05/0.8904, allocations: 23.72 kB / 0.9884 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.444e-05/0.8904, allocations: 26.3 kB / 0.9884 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.8904, allocations: 4 kB / 0.9885 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.8904, allocations: 3.938 kB / 0.9885 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.8905, allocations: 11.94 kB / 0.9885 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001938/0.8924, allocations: 0.7051 MB / 0.9892 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.8924, allocations: 0 / 0.9892 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.873e-05/0.8925, allocations: 4 kB / 0.9892 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.8925, allocations: 0 / 0.9892 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.961e-05/0.8925, allocations: 23.92 kB / 0.9892 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.8925, allocations: 0 / 0.9892 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.107e-05/0.8925, allocations: 11.94 kB / 0.9892 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001521/0.8941, allocations: 468.8 kB / 0.9896 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002023/0.8943, allocations: 156.7 kB / 0.9898 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.34e-05/0.8944, allocations: 11.98 kB / 0.9898 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004085/0.8948, allocations: 39.92 kB / 0.9898 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.363e-05/0.8948, allocations: 11.98 kB / 0.9899 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.76e-05/0.8949, allocations: 43.97 kB / 0.9899 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002229/0.8951, allocations: 201.9 kB / 0.9901 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8951, allocations: 0 / 0.9901 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004101/0.8955, allocations: 51.98 kB / 0.9901 GB, free: 12.61 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,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.001784/0.8973, allocations: 1.009 MB / 0.9911 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001151/0.8985, allocations: 401.4 kB / 0.9915 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.8985, allocations: 0 / 0.9915 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006573/0.8992, allocations: 124.3 kB / 0.9916 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.8996, allocations: 24.59 kB / 0.9916 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002605/0.9022, allocations: 1.185 MB / 0.9928 GB, free: 9.754 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.9025, allocations: 0.7477 MB / 0.9935 GB, free: 8.98 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.916e-05/0.9026, allocations: 9.234 kB / 0.9935 GB, free: 8.973 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.46e-05/0.9027, allocations: 27.42 kB / 0.9936 GB, free: 8.945 MB / 0.7481 GB Notification: Performance of SimCode: time 7.42e-07/0.9027, allocations: 0 / 0.9936 GB, free: 8.945 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01897/0.9217, allocations: 4.531 MB / 0.998 GB, free: 4.59 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002561/0.922, allocations: 203.9 kB / 0.9982 GB, free: 4.348 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.926/2.848, allocations: 1.266 kB / 0.9982 GB, free: 4.348 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat does not exist to compare? outputFormat=mat