Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_9_Buildings.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.0008927/0.0008927, allocations: 99.94 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.0009692/0.0009693, allocations: 177.3 kB / 15.95 MB, free: 216 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.419/1.419, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.321/2.321, allocations: 390.3 MB / 0.6653 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003944/0.0003945, allocations: 8 kB / 0.8145 GB, free: 14.32 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9181/0.9185, allocations: 142.3 MB / 0.9535 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001775/0.9204, allocations: 1.172 MB / 0.9546 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009233/0.9213, allocations: 395.3 kB / 0.955 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.719e-05/0.9214, allocations: 0 / 0.955 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.209e-05/0.9215, allocations: 11.92 kB / 0.955 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.9216, allocations: 24.81 kB / 0.9551 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006609/0.9223, allocations: 209.7 kB / 0.9553 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002316/0.9225, allocations: 156.8 kB / 0.9554 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.841e-05/0.9226, allocations: 8.203 kB / 0.9554 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002721/0.9229, allocations: 165.5 kB / 0.9556 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/0.9231, allocations: 137.1 kB / 0.9557 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.441e-05/0.9232, allocations: 9.688 kB / 0.9557 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.13e-05/0.9232, allocations: 13.69 kB / 0.9557 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.9233, allocations: 83.38 kB / 0.9558 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.9235, allocations: 70.11 kB / 0.9559 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002723/0.9237, allocations: 205.3 kB / 0.9561 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.9237, allocations: 1.094 kB / 0.9561 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.635e-06/0.9238, allocations: 0 / 0.9561 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.9238, allocations: 0 / 0.9561 GB, free: 6.215 MB / 0.7169 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.001004/0.9248, allocations: 0.6636 MB / 0.9567 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.9248, allocations: 13.2 kB / 0.9567 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.9249, allocations: 30.97 kB / 0.9568 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/0.9253, allocations: 257.6 kB / 0.957 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.483e-05/0.9253, allocations: 13.19 kB / 0.957 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-05/0.9254, allocations: 14.81 kB / 0.957 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009352/0.9264, allocations: 218.2 kB / 0.9572 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.9264, allocations: 0 / 0.9572 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.031e-05/0.9264, allocations: 6.406 kB / 0.9572 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.9264, allocations: 3.953 kB / 0.9572 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007127/0.9271, allocations: 106.5 kB / 0.9574 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000347/0.9275, allocations: 311.9 kB / 0.9576 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.9285, allocations: 190.8 kB / 0.9578 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.184e-05/0.9286, allocations: 5.828 kB / 0.9578 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008727/0.9294, allocations: 219.7 kB / 0.958 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.733e-06/0.9294, allocations: 1.375 kB / 0.958 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002375/0.9318, allocations: 476.8 kB / 0.9585 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.9319, allocations: 67.25 kB / 0.9586 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002864/0.9322, allocations: 294.3 kB / 0.9588 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.379e-05/0.9322, allocations: 35.08 kB / 0.9589 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.077e-05/0.9323, allocations: 98.3 kB / 0.959 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.369e-05/0.9323, allocations: 37.36 kB / 0.959 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/0.9324, allocations: 8.438 kB / 0.959 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.466e-05/0.9325, allocations: 326.2 kB / 0.9593 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/0.9327, allocations: 80.52 kB / 0.9594 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.9329, allocations: 140.4 kB / 0.9595 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000209/0.9331, allocations: 151 kB / 0.9597 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.9331, allocations: 0 / 0.9597 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006012/0.9337, allocations: 392.2 kB / 0.9601 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.409e-05/0.9338, allocations: 72.77 kB / 0.9601 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.9338, allocations: 6.062 kB / 0.9601 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.9338, allocations: 6.219 kB / 0.9601 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.934, allocations: 22.19 kB / 0.9602 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.934, allocations: 3.438 kB / 0.9602 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004621/0.9345, allocations: 68.67 kB / 0.9602 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.245e-05/0.9346, allocations: 46.73 kB / 0.9603 GB, free: 3 MB / 0.7169 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.0001748/0.9347, allocations: 164.6 kB / 0.9604 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.9348, allocations: 28.25 kB / 0.9605 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.279e-05/0.9348, allocations: 28.05 kB / 0.9605 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.381e-06/0.9349, allocations: 5.906 kB / 0.9605 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.9349, allocations: 0 / 0.9605 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.9349, allocations: 4.859 kB / 0.9605 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00206/0.9369, allocations: 0.7081 MB / 0.9612 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.937, allocations: 0 / 0.9612 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.391e-05/0.937, allocations: 8.047 kB / 0.9612 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.937, allocations: 1.188 kB / 0.9612 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.523e-05/0.937, allocations: 20.39 kB / 0.9612 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.9371, allocations: 12.94 kB / 0.9612 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.9371, allocations: 0 / 0.9612 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00162/0.9387, allocations: 466.9 kB / 0.9617 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002083/0.9389, allocations: 157.8 kB / 0.9618 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.099e-05/0.939, allocations: 12.98 kB / 0.9618 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004438/0.9394, allocations: 35.94 kB / 0.9619 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.144e-05/0.9395, allocations: 13.36 kB / 0.9619 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.32e-05/0.9396, allocations: 41.16 kB / 0.9619 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002333/0.9398, allocations: 205.1 kB / 0.9621 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9398, allocations: 0 / 0.9621 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003995/0.9402, allocations: 49.89 kB / 0.9622 GB, free: 1.703 MB / 0.7169 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.0002122/0.9404, allocations: 130.9 kB / 0.9623 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001238/0.9417, allocations: 392.9 kB / 0.9627 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.9417, allocations: 5.125 kB / 0.9627 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007511/0.9425, allocations: 126.4 kB / 0.9628 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.9428, allocations: 23.03 kB / 0.9628 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.9442, allocations: 0.4938 MB / 0.9633 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.9445, allocations: 0.7436 MB / 0.964 GB, free: 216 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.997e-05/0.9446, allocations: 16.8 kB / 0.964 GB, free: 204 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.719e-05/0.9447, allocations: 18.3 kB / 0.9641 GB, free: 196 kB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.9447, allocations: 0 / 0.9641 GB, free: 196 kB / 0.7169 GB Notification: Performance of Templates: time 0.008802/0.9535, allocations: 3.501 MB / 0.9675 GB, free: 14.41 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches