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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005138/0.005138, allocations: 100.5 kB / 15.73 MB, free: 6.035 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.001291/0.001291, allocations: 192.3 kB / 16.67 MB, free: 5.973 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.427/2.427, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 68.77 kB / 0.9504 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3136, allocations: 140.4 MB / 1.088 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.002787/0.3164, allocations: 1.738 MB / 1.089 GB, free: 232 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001304/0.3177, allocations: 0.626 MB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.829e-05/0.3178, allocations: 0 / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.766e-05/0.3179, allocations: 11.86 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.3181, allocations: 39.78 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008657/0.319, allocations: 362.9 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006792/0.3197, allocations: 0.6282 MB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.3198, allocations: 41.06 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000474/0.3203, allocations: 307.6 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003358/0.3206, allocations: 159.5 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.3207, allocations: 40 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.302e-05/0.3208, allocations: 40 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.321, allocations: 127.6 kB / 1.092 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002137/0.3212, allocations: 219 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005503/0.3217, allocations: 0.5917 MB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3218, allocations: 4 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3218, allocations: 0 / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.725e-05/0.3218, allocations: 0 / 1.092 GB, free: 13.06 MB / 0.8575 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.001452/0.3232, allocations: 0.9093 MB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.3233, allocations: 8.031 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.169e-05/0.3234, allocations: 42.73 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.3235, allocations: 52.47 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003823/0.3239, allocations: 338.1 kB / 1.094 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.124e-05/0.3239, allocations: 24.36 kB / 1.094 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.773e-05/0.324, allocations: 24.36 kB / 1.094 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009163/0.3249, allocations: 238 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.325, allocations: 3.938 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.725e-05/0.325, allocations: 4 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.325, allocations: 4 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007064/0.3257, allocations: 117.7 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/0.3269, allocations: 0.672 MB / 1.095 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009809/0.3279, allocations: 186.4 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006988/0.3286, allocations: 120.8 kB / 1.095 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.3287, allocations: 0 / 1.095 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009288/0.3296, allocations: 230 kB / 1.095 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.873e-06/0.3296, allocations: 0 / 1.095 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.002394/0.332, allocations: 0.4929 MB / 1.096 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.3321, allocations: 63.34 kB / 1.096 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004729/0.3326, allocations: 441.9 kB / 1.096 GB, free: 8.887 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.278e-05/0.3326, allocations: 41.69 kB / 1.096 GB, free: 8.84 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.12e-05/0.3327, allocations: 105.3 kB / 1.096 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.278e-05/0.3328, allocations: 39.53 kB / 1.096 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002192/0.333, allocations: 137.3 kB / 1.096 GB, free: 8.555 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.3331, allocations: 330.8 kB / 1.097 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002747/0.3334, allocations: 135.9 kB / 1.097 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003033/0.3337, allocations: 186.9 kB / 1.097 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004192/0.3341, allocations: 301.2 kB / 1.097 GB, free: 7.559 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3342, allocations: 0 / 1.097 GB, free: 7.559 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008391/0.335, allocations: 0.5137 MB / 1.098 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.398e-05/0.3351, allocations: 99.56 kB / 1.098 GB, free: 6.918 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.3351, allocations: 3.984 kB / 1.098 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.3351, allocations: 4 kB / 1.098 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.3353, allocations: 27.92 kB / 1.098 GB, free: 6.883 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.3353, allocations: 0 / 1.098 GB, free: 6.883 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004501/0.3358, allocations: 63.73 kB / 1.098 GB, free: 6.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.881e-05/0.3359, allocations: 59.92 kB / 1.098 GB, free: 6.762 MB / 0.8575 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.0002266/0.3361, allocations: 224.3 kB / 1.098 GB, free: 6.535 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.275e-05/0.3362, allocations: 39.53 kB / 1.098 GB, free: 6.496 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.629e-05/0.3363, allocations: 39.8 kB / 1.098 GB, free: 6.453 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.3363, allocations: 0 / 1.098 GB, free: 6.453 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.3363, allocations: 4 kB / 1.098 GB, free: 6.449 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.3363, allocations: 3.984 kB / 1.098 GB, free: 6.445 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00201/0.3383, allocations: 0.7911 MB / 1.099 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3383, allocations: 0 / 1.099 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.463e-05/0.3384, allocations: 4 kB / 1.099 GB, free: 5.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3384, allocations: 0 / 1.099 GB, free: 5.59 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.405e-05/0.3384, allocations: 23.91 kB / 1.099 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3384, allocations: 0 / 1.099 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3384, allocations: 4 kB / 1.099 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/0.34, allocations: 481.6 kB / 1.1 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002677/0.3403, allocations: 244.5 kB / 1.1 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.271e-05/0.3404, allocations: 23.94 kB / 1.1 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004385/0.3408, allocations: 35.95 kB / 1.1 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.176e-05/0.3408, allocations: 7.984 kB / 1.1 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-05/0.3409, allocations: 59.92 kB / 1.1 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003134/0.3412, allocations: 323.1 kB / 1.1 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3412, allocations: 0 / 1.1 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003459/0.3416, allocations: 64 kB / 1.1 GB, free: 4.32 MB / 0.8575 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.001937/0.3435, allocations: 1.052 MB / 1.101 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001219/0.3448, allocations: 481.5 kB / 1.102 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3448, allocations: 0 / 1.102 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000676/0.3455, allocations: 128.2 kB / 1.102 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004087/0.3459, allocations: 34.84 kB / 1.102 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00435/0.3503, allocations: 3.009 MB / 1.105 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.3506, allocations: 0.7864 MB / 1.106 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 7.046e-05/0.3507, allocations: 13.42 kB / 1.106 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.88e-05/0.3508, allocations: 31.42 kB / 1.106 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.3508, allocations: 0 / 1.106 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0251/0.3759, allocations: 6.709 MB / 1.112 GB, free: 7.934 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.596/7.972, allocations: 11.8 kB / 1.112 GB, free: 7.922 MB / 0.8731 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths.fmu > 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