Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001386/0.001386, allocations: 109.1 kB / 16.41 MB, free: 6.449 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.001389/0.001389, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.461/2.461, allocations: 437 MB / 0.7112 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001462, allocations: 63.91 kB / 1.019 GB, free: 9.488 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.912/0.9135, allocations: 151.6 MB / 1.167 GB, free: 3.914 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002956/0.9165, allocations: 1.52 MB / 1.169 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.9178, allocations: 0.5457 MB / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.408e-05/0.9179, allocations: 4 kB / 1.169 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 9.476e-05/0.918, allocations: 11.86 kB / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.9181, allocations: 31.62 kB / 1.169 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008214/0.9189, allocations: 306.7 kB / 1.17 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000681/0.9196, allocations: 0.5033 MB / 1.17 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.632e-05/0.9197, allocations: 7.984 kB / 1.17 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004211/0.9201, allocations: 275.6 kB / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000301/0.9204, allocations: 140.2 kB / 1.171 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 8.557e-05/0.9205, allocations: 28 kB / 1.171 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 6.854e-05/0.9206, allocations: 24 kB / 1.171 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.9207, allocations: 123.6 kB / 1.171 GB, free: 416 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.9209, allocations: 179.1 kB / 1.171 GB, free: 236 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004178/0.9213, allocations: 427 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.9213, allocations: 0 / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.482e-06/0.9213, allocations: 3.938 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.9214, allocations: 4 kB / 1.171 GB, free: 15.81 MB / 0.9044 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.001319/0.9227, allocations: 0.8782 MB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.9227, allocations: 8.922 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/0.9229, allocations: 52.7 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003643/0.9232, allocations: 318.5 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.512e-05/0.9233, allocations: 20.38 kB / 1.173 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.9234, allocations: 24.36 kB / 1.173 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.9245, allocations: 218 kB / 1.173 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.9245, allocations: 192 / 1.173 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.128e-05/0.9245, allocations: 7.938 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.9245, allocations: 0 / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008214/0.9254, allocations: 95.92 kB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004554/0.9258, allocations: 393.3 kB / 1.173 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001206/0.927, allocations: 182.4 kB / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007975/0.9279, allocations: 108.8 kB / 1.173 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.9279, allocations: 4 kB / 1.174 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009895/0.9289, allocations: 221.9 kB / 1.174 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 2.194e-06/0.9289, allocations: 4 kB / 1.174 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.002707/0.9316, allocations: 496.9 kB / 1.174 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.9317, allocations: 59.39 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004138/0.9321, allocations: 417.8 kB / 1.175 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 8.059e-05/0.9322, allocations: 41.69 kB / 1.175 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.829e-05/0.9323, allocations: 97.39 kB / 1.175 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.725e-05/0.9323, allocations: 39.75 kB / 1.175 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.9325, allocations: 121.5 kB / 1.175 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.9326, allocations: 326.8 kB / 1.175 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002559/0.9329, allocations: 119.9 kB / 1.175 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003034/0.9332, allocations: 169.9 kB / 1.176 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003913/0.9336, allocations: 275.5 kB / 1.176 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.9336, allocations: 0 / 1.176 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007946/0.9344, allocations: 484.7 kB / 1.176 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.638e-05/0.9345, allocations: 97.97 kB / 1.176 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.9345, allocations: 192 / 1.176 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.9346, allocations: 11.98 kB / 1.176 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/0.9348, allocations: 19.92 kB / 1.176 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.9348, allocations: 4 kB / 1.176 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004897/0.9353, allocations: 63.8 kB / 1.176 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.892e-05/0.9354, allocations: 59.98 kB / 1.176 GB, free: 10.12 MB / 0.9044 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.000251/0.9357, allocations: 199.9 kB / 1.177 GB, free: 9.918 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.924e-05/0.9357, allocations: 39.7 kB / 1.177 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.386e-05/0.9358, allocations: 43.75 kB / 1.177 GB, free: 9.836 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.9358, allocations: 0 / 1.177 GB, free: 9.836 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.9358, allocations: 0 / 1.177 GB, free: 9.836 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.9358, allocations: 3.984 kB / 1.177 GB, free: 9.832 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002341/0.9382, allocations: 0.7472 MB / 1.177 GB, free: 9.027 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.9382, allocations: 0 / 1.177 GB, free: 9.027 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.66e-05/0.9382, allocations: 4 kB / 1.177 GB, free: 9.023 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.9383, allocations: 0 / 1.177 GB, free: 9.023 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.237e-05/0.9383, allocations: 23.97 kB / 1.178 GB, free: 9 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.9383, allocations: 0 / 1.178 GB, free: 9 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.9383, allocations: 0 / 1.178 GB, free: 9 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/0.9402, allocations: 487.4 kB / 1.178 GB, free: 8.508 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002586/0.9404, allocations: 200.7 kB / 1.178 GB, free: 8.293 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.195e-05/0.9405, allocations: 12 kB / 1.178 GB, free: 8.281 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004953/0.941, allocations: 35.95 kB / 1.178 GB, free: 8.246 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.9411, allocations: 7.984 kB / 1.178 GB, free: 8.238 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.048e-05/0.9411, allocations: 55.98 kB / 1.178 GB, free: 8.184 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002859/0.9414, allocations: 295.1 kB / 1.179 GB, free: 7.898 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9414, allocations: 0 / 1.179 GB, free: 7.898 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003462/0.9418, allocations: 67.98 kB / 1.179 GB, free: 7.832 MB / 0.9044 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.0001721/0.942, allocations: 132.2 kB / 1.179 GB, free: 7.691 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001331/0.9433, allocations: 442.5 kB / 1.179 GB, free: 7.234 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.9433, allocations: 0 / 1.179 GB, free: 7.234 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0008361/0.9441, allocations: 128.2 kB / 1.179 GB, free: 7.109 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.9445, allocations: 32.84 kB / 1.179 GB, free: 7.082 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/0.9462, allocations: 0.5884 MB / 1.18 GB, free: 6.461 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003779/0.9465, allocations: 0.7708 MB / 1.181 GB, free: 5.664 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.413e-05/0.9466, allocations: 19.42 kB / 1.181 GB, free: 5.645 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/0.9466, allocations: 0 / 1.181 GB, free: 5.645 MB / 0.9044 GB Notification: Performance of Templates: time 0.006361/0.953, allocations: 3.674 MB / 1.184 GB, free: 1.918 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,calTim.year,calTim.month,calTim.day,calTim.weekDay,calTim.hour,calTim.minute Variables in the result:calTim.day,calTim.hour,calTim.minute,calTim.month,calTim.weekDay,calTim.year,time