Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001731/0.001731, allocations: 105.2 kB / 16.36 MB, free: 6.285 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.002018/0.002018, allocations: 192 kB / 17.29 MB, free: 5.863 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.203/1.203, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.014/2.014, allocations: 390.3 MB / 0.6655 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 62.2 kB / 0.814 GB, free: 32.62 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.226, allocations: 140.4 MB / 0.9511 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002337/0.2284, allocations: 1.525 MB / 0.9526 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001029/0.2294, allocations: 0.5422 MB / 0.9531 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.293e-05/0.2295, allocations: 0 / 0.9531 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 7.84e-05/0.2296, allocations: 7.875 kB / 0.9531 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.825e-05/0.2297, allocations: 27.86 kB / 0.9532 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006396/0.2303, allocations: 311.3 kB / 0.9535 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004472/0.2308, allocations: 0.5033 MB / 0.9539 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.823e-05/0.2308, allocations: 11.98 kB / 0.954 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002885/0.2311, allocations: 267.6 kB / 0.9542 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.2314, allocations: 139.7 kB / 0.9543 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.459e-05/0.2314, allocations: 28 kB / 0.9544 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.904e-05/0.2315, allocations: 28 kB / 0.9544 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.2316, allocations: 115.6 kB / 0.9545 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001663/0.2318, allocations: 187 kB / 0.9547 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003426/0.2321, allocations: 430.7 kB / 0.9551 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.2321, allocations: 0 / 0.9551 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2321, allocations: 0 / 0.9551 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.2322, allocations: 0 / 0.9551 GB, free: 3.945 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.001028/0.2332, allocations: 0.8586 MB / 0.9559 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.782e-05/0.2332, allocations: 8.031 kB / 0.9559 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.544e-05/0.2333, allocations: 52.47 kB / 0.956 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003721/0.2337, allocations: 318.1 kB / 0.9563 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.661e-05/0.2337, allocations: 20.36 kB / 0.9563 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.805e-05/0.2338, allocations: 28.38 kB / 0.9563 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008276/0.2347, allocations: 213.9 kB / 0.9565 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.2347, allocations: 4.172 kB / 0.9566 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/0.2347, allocations: 3.938 kB / 0.9566 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.2347, allocations: 0 / 0.9566 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000645/0.2354, allocations: 115.8 kB / 0.9567 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00034/0.2357, allocations: 377.3 kB / 0.957 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008498/0.2366, allocations: 178.5 kB / 0.9572 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006817/0.2373, allocations: 108.8 kB / 0.9573 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.2373, allocations: 4 kB / 0.9573 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000752/0.238, allocations: 229.9 kB / 0.9575 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 1.412e-06/0.2381, allocations: 0 / 0.9575 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.002134/0.2402, allocations: 480.9 kB / 0.958 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.2402, allocations: 67.39 kB / 0.958 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004121/0.2407, allocations: 405.8 kB / 0.9584 GB, free: 308 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.407e-05/0.2407, allocations: 41.69 kB / 0.9585 GB, free: 260 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.715e-05/0.2408, allocations: 97.44 kB / 0.9586 GB, free: 160 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.883e-05/0.2408, allocations: 43.48 kB / 0.9586 GB, free: 116 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001725/0.241, allocations: 129.3 kB / 0.9587 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.375e-05/0.2411, allocations: 326.8 kB / 0.959 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.2413, allocations: 119.9 kB / 0.9592 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002437/0.2416, allocations: 173.4 kB / 0.9593 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000312/0.2419, allocations: 275.2 kB / 0.9596 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.2419, allocations: 0 / 0.9596 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008146/0.2427, allocations: 0.4948 MB / 0.9601 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001321/0.2429, allocations: 91.31 kB / 0.9602 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.2429, allocations: 0 / 0.9602 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.2429, allocations: 4 kB / 0.9602 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.243, allocations: 23.92 kB / 0.9602 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.2431, allocations: 4 kB / 0.9602 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004059/0.2435, allocations: 55.8 kB / 0.9602 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.952e-05/0.2436, allocations: 68.06 kB / 0.9603 GB, free: 14.28 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 (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.0001722/0.2437, allocations: 188 kB / 0.9605 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.024e-05/0.2438, allocations: 43.47 kB / 0.9605 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.687e-05/0.2439, allocations: 43.73 kB / 0.9606 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.2439, allocations: 0 / 0.9606 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.2439, allocations: 3.938 kB / 0.9606 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.2439, allocations: 0 / 0.9606 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001897/0.2458, allocations: 0.7444 MB / 0.9613 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2458, allocations: 0 / 0.9613 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.371e-05/0.2458, allocations: 7.984 kB / 0.9613 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.2458, allocations: 3.984 kB / 0.9613 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.545e-05/0.2459, allocations: 15.98 kB / 0.9613 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2459, allocations: 4 kB / 0.9613 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2459, allocations: 4 kB / 0.9613 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.2474, allocations: 477.3 kB / 0.9618 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002631/0.2476, allocations: 200.5 kB / 0.962 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.417e-05/0.2478, allocations: 15.92 kB / 0.962 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004033/0.2482, allocations: 31.97 kB / 0.962 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.2482, allocations: 11.92 kB / 0.962 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-05/0.2483, allocations: 59.97 kB / 0.9621 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002996/0.2486, allocations: 295.1 kB / 0.9624 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2486, allocations: 0 / 0.9624 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003296/0.2489, allocations: 68 kB / 0.9624 GB, free: 11.98 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 (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.000115/0.249, allocations: 113.6 kB / 0.9625 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00102/0.2501, allocations: 442.4 kB / 0.963 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2501, allocations: 384 / 0.963 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000669/0.2508, allocations: 127.4 kB / 0.9631 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.2511, allocations: 25.48 kB / 0.9631 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.2523, allocations: 0.5517 MB / 0.9637 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.2526, allocations: 0.7785 MB / 0.9644 GB, free: 9.879 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.843e-05/0.2527, allocations: 9.078 kB / 0.9644 GB, free: 9.867 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.643e-05/0.2527, allocations: 19.42 kB / 0.9644 GB, free: 9.848 MB / 0.7481 GB Notification: Performance of SimCode: time 1.362e-06/0.2527, allocations: 0 / 0.9644 GB, free: 9.848 MB / 0.7481 GB Notification: Performance of Templates: time 0.007174/0.2599, allocations: 4.931 MB / 0.9693 GB, free: 4.82 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches