Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.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.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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus",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.0069/0.0069, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001211/0.001211, allocations: 191.2 kB / 16.67 MB, free: 5.93 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.119/2.119, allocations: 390.3 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 63.91 kB / 0.9504 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9058/0.9072, allocations: 140.4 MB / 1.088 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.002714/0.91, allocations: 1.748 MB / 1.089 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00132/0.9113, allocations: 0.6149 MB / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.102e-05/0.9114, allocations: 1.031 kB / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.188e-05/0.9115, allocations: 10.5 kB / 1.09 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.9116, allocations: 35.86 kB / 1.09 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007866/0.9124, allocations: 363.5 kB / 1.09 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006632/0.9131, allocations: 0.6336 MB / 1.091 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.9132, allocations: 34.89 kB / 1.091 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004449/0.9136, allocations: 309.9 kB / 1.091 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000289/0.9139, allocations: 159.2 kB / 1.091 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.914, allocations: 40.88 kB / 1.091 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.081e-05/0.9141, allocations: 45.81 kB / 1.091 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001602/0.9143, allocations: 131.7 kB / 1.092 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000214/0.9145, allocations: 217.4 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006816/0.9152, allocations: 0.5978 MB / 1.092 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.9152, allocations: 0 / 1.092 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9152, allocations: 1.156 kB / 1.092 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.9152, allocations: 0 / 1.092 GB, free: 2.516 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.001179/0.9164, allocations: 0.897 MB / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.9165, allocations: 12.75 kB / 1.093 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.502e-05/0.9165, allocations: 45.45 kB / 1.093 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.9166, allocations: 52.45 kB / 1.093 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003659/0.917, allocations: 340.8 kB / 1.094 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.753e-05/0.9171, allocations: 24.12 kB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.476e-05/0.9172, allocations: 30.23 kB / 1.094 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000988/0.9182, allocations: 228.1 kB / 1.094 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.9182, allocations: 8.75 kB / 1.094 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.773e-05/0.9182, allocations: 6.688 kB / 1.094 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.9182, allocations: 2.062 kB / 1.094 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007605/0.919, allocations: 116.6 kB / 1.094 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/0.9203, allocations: 0.6687 MB / 1.095 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009965/0.9213, allocations: 185.5 kB / 1.095 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007228/0.922, allocations: 118.3 kB / 1.095 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.9221, allocations: 2.141 kB / 1.095 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009537/0.923, allocations: 227 kB / 1.095 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.673e-06/0.923, allocations: 0 / 1.095 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.002481/0.9255, allocations: 0.491 MB / 1.096 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.9256, allocations: 71.5 kB / 1.096 GB, free: 492 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005032/0.9261, allocations: 439.9 kB / 1.096 GB, free: 276 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.52e-05/0.9261, allocations: 40.75 kB / 1.096 GB, free: 240 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.582e-05/0.9262, allocations: 104.2 kB / 1.096 GB, free: 144 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.9263, allocations: 30.42 kB / 1.096 GB, free: 124 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002301/0.9265, allocations: 136.1 kB / 1.096 GB, free: 60 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.9267, allocations: 326.2 kB / 1.097 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003178/0.927, allocations: 139 kB / 1.097 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003445/0.9273, allocations: 191.9 kB / 1.097 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004238/0.9278, allocations: 307.2 kB / 1.097 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.9278, allocations: 1.938 kB / 1.097 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009326/0.9287, allocations: 0.5213 MB / 1.098 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.673e-05/0.9288, allocations: 99.41 kB / 1.098 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.9288, allocations: 1.125 kB / 1.098 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.9289, allocations: 3.469 kB / 1.098 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.929, allocations: 27.62 kB / 1.098 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.9291, allocations: 2.469 kB / 1.098 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004722/0.9295, allocations: 59.5 kB / 1.098 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.623e-05/0.9296, allocations: 61.16 kB / 1.098 GB, free: 15.02 MB / 0.8731 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.0002627/0.9299, allocations: 222.7 kB / 1.098 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.478e-05/0.93, allocations: 41.47 kB / 1.098 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.358e-05/0.9301, allocations: 42.34 kB / 1.098 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.9301, allocations: 2.281 kB / 1.098 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.9301, allocations: 0.5156 kB / 1.098 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.9301, allocations: 1.234 kB / 1.098 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002241/0.9323, allocations: 0.7905 MB / 1.099 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.9323, allocations: 0.5312 kB / 1.099 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.938e-05/0.9324, allocations: 9.656 kB / 1.099 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.9324, allocations: 0.6875 kB / 1.099 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.802e-05/0.9325, allocations: 29.84 kB / 1.099 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.9325, allocations: 1.781 kB / 1.099 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.9325, allocations: 1 kB / 1.099 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/0.9342, allocations: 479.3 kB / 1.1 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003269/0.9345, allocations: 241 kB / 1.1 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.742e-05/0.9346, allocations: 24.91 kB / 1.1 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004553/0.9351, allocations: 36.27 kB / 1.1 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/0.9351, allocations: 8.031 kB / 1.1 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-05/0.9352, allocations: 60.61 kB / 1.1 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000396/0.9356, allocations: 318.7 kB / 1.1 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9356, allocations: 0.5 kB / 1.1 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004996/0.9361, allocations: 66.88 kB / 1.1 GB, free: 13.82 MB / 0.8731 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.002083/0.9382, allocations: 1.048 MB / 1.101 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001373/0.9396, allocations: 476 kB / 1.102 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.9396, allocations: 1.406 kB / 1.102 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007/0.9403, allocations: 122.7 kB / 1.102 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.9407, allocations: 40.69 kB / 1.102 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004938/0.9457, allocations: 3.009 MB / 1.105 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000448/0.9462, allocations: 0.7832 MB / 1.106 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.153e-05/0.9463, allocations: 15.62 kB / 1.106 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.343e-05/0.9463, allocations: 35 kB / 1.106 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of SimCode: time 8.62e-07/0.9463, allocations: 0 / 1.106 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02868/0.975, allocations: 6.716 MB / 1.112 GB, free: 8.848 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.677/8.652, allocations: 4.531 kB / 1.112 GB, free: 8.848 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches