Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.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.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,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.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,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.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00626/0.00626, allocations: 100.5 kB / 15.87 MB, free: 5.863 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.001502/0.001502, allocations: 188.9 kB / 16.79 MB, free: 5.805 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.357/1.357, allocations: 222.9 MB / 240.5 MB, free: 4.605 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.381/2.381, allocations: 390.2 MB / 0.6649 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 75.88 kB / 0.8126 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6335/0.635, allocations: 140.3 MB / 0.9496 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.002523/0.6376, allocations: 1.794 MB / 0.9514 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.6389, allocations: 0.6967 MB / 0.952 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.465e-05/0.639, allocations: 0.9375 kB / 0.952 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001091/0.6391, allocations: 7.938 kB / 0.9521 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.6392, allocations: 32.38 kB / 0.9521 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000643/0.6399, allocations: 329.9 kB / 0.9524 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004279/0.6403, allocations: 0.5326 MB / 0.9529 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.6404, allocations: 38.41 kB / 0.953 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000358/0.6408, allocations: 316.2 kB / 0.9533 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002318/0.641, allocations: 171.3 kB / 0.9534 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.59e-05/0.6411, allocations: 15.72 kB / 0.9534 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.423e-05/0.6412, allocations: 14.91 kB / 0.9535 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.6414, allocations: 116.8 kB / 0.9536 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002299/0.6416, allocations: 209.8 kB / 0.9538 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003344/0.6419, allocations: 477 kB / 0.9542 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.6419, allocations: 1.125 kB / 0.9542 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.71e-07/0.642, allocations: 3.938 kB / 0.9542 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.642, allocations: 0 / 0.9542 GB, free: 5.773 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001219/0.6432, allocations: 0.9119 MB / 0.9551 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.6432, allocations: 8.625 kB / 0.9551 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001296/0.6434, allocations: 60.03 kB / 0.9552 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003308/0.6437, allocations: 329.3 kB / 0.9555 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.583e-05/0.6438, allocations: 19.81 kB / 0.9555 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.482e-05/0.6439, allocations: 28.48 kB / 0.9555 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.6449, allocations: 244.2 kB / 0.9558 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.645, allocations: 3.938 kB / 0.9558 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.451e-05/0.645, allocations: 9.172 kB / 0.9558 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.645, allocations: 6.188 kB / 0.9558 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007932/0.6458, allocations: 110.7 kB / 0.9559 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.6469, allocations: 0.6811 MB / 0.9566 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.648, allocations: 179.7 kB / 0.9567 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007543/0.6487, allocations: 117 kB / 0.9568 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.6488, allocations: 1.438 kB / 0.9568 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009476/0.6497, allocations: 235.1 kB / 0.9571 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.713e-06/0.6497, allocations: 0 / 0.9571 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.00257/0.6523, allocations: 0.4942 MB / 0.9576 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.6524, allocations: 56.84 kB / 0.9576 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004072/0.6528, allocations: 443.4 kB / 0.958 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.219e-05/0.6528, allocations: 42.41 kB / 0.9581 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.382e-05/0.6529, allocations: 105.9 kB / 0.9582 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.055e-05/0.6529, allocations: 37.12 kB / 0.9582 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002068/0.6532, allocations: 137.5 kB / 0.9583 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.013e-05/0.6532, allocations: 330.1 kB / 0.9587 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002832/0.6535, allocations: 140 kB / 0.9588 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002929/0.6538, allocations: 189.3 kB / 0.959 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003617/0.6542, allocations: 311 kB / 0.9593 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.6542, allocations: 0 / 0.9593 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008343/0.655, allocations: 0.5131 MB / 0.9598 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.605e-05/0.6551, allocations: 101.2 kB / 0.9599 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.6551, allocations: 5.172 kB / 0.9599 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.6551, allocations: 3.406 kB / 0.9599 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.6553, allocations: 22.52 kB / 0.9599 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.6553, allocations: 2.844 kB / 0.9599 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005248/0.6559, allocations: 57.86 kB / 0.9599 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.996e-05/0.656, allocations: 73 kB / 0.96 GB, free: 1.539 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 (calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.0002287/0.6562, allocations: 221.6 kB / 0.9602 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.891e-05/0.6563, allocations: 39.75 kB / 0.9603 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.588e-05/0.6563, allocations: 40.84 kB / 0.9603 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.6563, allocations: 2.25 kB / 0.9603 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.6564, allocations: 0 / 0.9603 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.6564, allocations: 0 / 0.9603 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002142/0.6585, allocations: 0.7916 MB / 0.9611 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.6585, allocations: 0 / 0.9611 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.582e-05/0.6586, allocations: 8.844 kB / 0.9611 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.6586, allocations: 0 / 0.9611 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.032e-05/0.6586, allocations: 28.81 kB / 0.9611 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.6586, allocations: 4 kB / 0.9611 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.6586, allocations: 5.125 kB / 0.9611 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001746/0.6604, allocations: 484.2 kB / 0.9616 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002372/0.6606, allocations: 243.9 kB / 0.9618 GB, free: 252 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.233e-05/0.6607, allocations: 23.48 kB / 0.9618 GB, free: 236 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004876/0.6612, allocations: 26.56 kB / 0.9619 GB, free: 228 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.6613, allocations: 12.36 kB / 0.9619 GB, free: 220 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.961e-05/0.6613, allocations: 53.8 kB / 0.9619 GB, free: 216 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003007/0.6616, allocations: 321.8 kB / 0.9622 GB, free: 16 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6617, allocations: 0 / 0.9622 GB, free: 16 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003984/0.6621, allocations: 73.39 kB / 0.9623 GB, free: 4 kB / 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.0002026/0.6623, allocations: 129 kB / 0.9624 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001397/0.6637, allocations: 467 kB / 0.9629 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.6637, allocations: 4.969 kB / 0.9629 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008276/0.6645, allocations: 127.9 kB / 0.963 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/0.665, allocations: 36.59 kB / 0.963 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/0.6667, allocations: 0.7721 MB / 0.9638 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/0.6671, allocations: 0.7912 MB / 0.9646 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.512e-05/0.6672, allocations: 14.66 kB / 0.9646 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of SimCode: time 4.1e-07/0.6672, allocations: 0 / 0.9646 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of Templates: time 0.007556/0.6748, allocations: 4.08 MB / 0.9686 GB, free: 12.02 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches