Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 105.7 kB / 16.41 MB, free: 6.5 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.001758/0.001758, allocations: 191.8 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002464/0.002464, allocations: 291.1 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.015/1.015, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002786/0.002786, allocations: 95.84 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5153/0.5181, allocations: 86.98 MB / 0.7671 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003003/0.5211, allocations: 1.484 MB / 0.7685 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.5222, allocations: 433.1 kB / 0.7689 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.98e-05/0.5223, allocations: 0 / 0.7689 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.5224, allocations: 7.875 kB / 0.7689 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000121/0.5225, allocations: 24.22 kB / 0.7689 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007401/0.5232, allocations: 250.5 kB / 0.7692 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004287/0.5237, allocations: 315.5 kB / 0.7695 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.919e-05/0.5237, allocations: 11.92 kB / 0.7695 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003013/0.524, allocations: 191.7 kB / 0.7697 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002373/0.5243, allocations: 116.8 kB / 0.7698 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.989e-05/0.5243, allocations: 16 kB / 0.7698 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.282e-05/0.5244, allocations: 24 kB / 0.7698 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.5245, allocations: 91.7 kB / 0.7699 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001435/0.5246, allocations: 119.4 kB / 0.77 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003856/0.525, allocations: 292.6 kB / 0.7703 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.525, allocations: 3.938 kB / 0.7703 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.703e-06/0.525, allocations: 7.938 kB / 0.7703 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.5251, allocations: 0 / 0.7703 GB, free: 0.5352 MB / 0.5294 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.001257/0.5263, allocations: 0.7461 MB / 0.771 GB, free: 15.7 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.5263, allocations: 8.031 kB / 0.7711 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.5265, allocations: 40.78 kB / 0.7711 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003719/0.5268, allocations: 255.8 kB / 0.7713 GB, free: 15.37 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.845e-05/0.5269, allocations: 24.34 kB / 0.7714 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.069e-05/0.527, allocations: 19.94 kB / 0.7714 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.528, allocations: 201.4 kB / 0.7716 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.528, allocations: 0 / 0.7716 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.775e-05/0.528, allocations: 0 / 0.7716 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.528, allocations: 4 kB / 0.7716 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008044/0.5288, allocations: 103.9 kB / 0.7717 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004381/0.5293, allocations: 317.4 kB / 0.772 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.5303, allocations: 162.4 kB / 0.7721 GB, free: 14.49 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007959/0.5311, allocations: 100.8 kB / 0.7722 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.5312, allocations: 384 / 0.7722 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001019/0.5322, allocations: 215.1 kB / 0.7724 GB, free: 14.16 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.5322, allocations: 0 / 0.7724 GB, free: 14.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002655/0.5348, allocations: 452.4 kB / 0.7729 GB, free: 13.72 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.972e-05/0.5349, allocations: 63.39 kB / 0.7729 GB, free: 13.64 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003323/0.5352, allocations: 287 kB / 0.7732 GB, free: 13.36 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.292e-05/0.5353, allocations: 37.7 kB / 0.7732 GB, free: 13.32 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.065e-05/0.5354, allocations: 97.12 kB / 0.7733 GB, free: 13.22 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.401e-05/0.5354, allocations: 47.61 kB / 0.7734 GB, free: 13.17 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/0.5356, allocations: 97.58 kB / 0.7735 GB, free: 13.07 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.5357, allocations: 314.8 kB / 0.7738 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.5359, allocations: 87.94 kB / 0.7739 GB, free: 12.67 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002336/0.5362, allocations: 129.9 kB / 0.774 GB, free: 12.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003363/0.5365, allocations: 239.7 kB / 0.7742 GB, free: 12.25 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.5365, allocations: 3.938 kB / 0.7742 GB, free: 12.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006894/0.5372, allocations: 392.7 kB / 0.7746 GB, free: 11.85 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.571e-05/0.5373, allocations: 75.38 kB / 0.7747 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.5373, allocations: 4 kB / 0.7747 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.5373, allocations: 0 / 0.7747 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.5375, allocations: 23.98 kB / 0.7747 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/0.5375, allocations: 7.938 kB / 0.7747 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004533/0.538, allocations: 60.03 kB / 0.7747 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.262e-05/0.538, allocations: 35.98 kB / 0.7748 GB, free: 11.63 MB / 0.545 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 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002293/0.5383, allocations: 172 kB / 0.7749 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.339e-05/0.5383, allocations: 27.8 kB / 0.775 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.043e-05/0.5384, allocations: 30.23 kB / 0.775 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.5384, allocations: 4 kB / 0.775 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.5384, allocations: 3.938 kB / 0.775 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.5384, allocations: 7.984 kB / 0.775 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002267/0.5407, allocations: 0.6897 MB / 0.7757 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.5407, allocations: 0 / 0.7757 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.216e-05/0.5407, allocations: 15.92 kB / 0.7757 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.5407, allocations: 0 / 0.7757 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.397e-05/0.5408, allocations: 15.97 kB / 0.7757 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.5408, allocations: 4 kB / 0.7757 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.5408, allocations: 0 / 0.7757 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00171/0.5425, allocations: 447.5 kB / 0.7761 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002415/0.5427, allocations: 164.8 kB / 0.7763 GB, free: 9.969 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.132e-05/0.5428, allocations: 12 kB / 0.7763 GB, free: 9.957 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004608/0.5432, allocations: 35.97 kB / 0.7764 GB, free: 9.922 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/0.5433, allocations: 7.984 kB / 0.7764 GB, free: 9.914 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.887e-05/0.5434, allocations: 43.91 kB / 0.7764 GB, free: 9.871 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002369/0.5436, allocations: 213.9 kB / 0.7766 GB, free: 9.66 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.5436, allocations: 0 / 0.7766 GB, free: 9.66 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003676/0.544, allocations: 52 kB / 0.7767 GB, free: 9.609 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002128/0.5442, allocations: 117.2 kB / 0.7768 GB, free: 9.484 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001221/0.5454, allocations: 350.5 kB / 0.7771 GB, free: 9.117 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5454, allocations: 0 / 0.7771 GB, free: 9.117 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007327/0.5461, allocations: 107.2 kB / 0.7772 GB, free: 9.016 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.5465, allocations: 20.64 kB / 0.7772 GB, free: 8.996 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.5478, allocations: 445.1 kB / 0.7776 GB, free: 8.535 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000399/0.5482, allocations: 0.7357 MB / 0.7784 GB, free: 7.773 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.8e-05/0.5483, allocations: 17.08 kB / 0.7784 GB, free: 7.758 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/0.5484, allocations: 15.44 kB / 0.7784 GB, free: 7.742 MB / 0.545 GB Notification: Performance of SimCode: time 7.82e-07/0.5484, allocations: 3.938 kB / 0.7784 GB, free: 7.738 MB / 0.545 GB Notification: Performance of Templates: time 0.008001/0.5564, allocations: 3.653 MB / 0.782 GB, free: 4.129 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)