Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_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.007322/0.007322, allocations: 104.6 kB / 15.74 MB, free: 6.492 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.001702/0.001702, allocations: 190.1 kB / 16.67 MB, free: 6.379 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.367 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.323/2.323, allocations: 390.3 MB / 0.6648 GB, free: 268 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 70.67 kB / 0.9504 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2469, allocations: 140.4 MB / 1.087 GB, free: 2.184 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002561/0.2495, allocations: 1.514 MB / 1.089 GB, free: 0.6562 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.2508, allocations: 0.5333 MB / 1.089 GB, free: 128 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.596e-05/0.2509, allocations: 0 / 1.089 GB, free: 128 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 9.638e-05/0.251, allocations: 23.86 kB / 1.089 GB, free: 104 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.2511, allocations: 19.86 kB / 1.089 GB, free: 84 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008288/0.2519, allocations: 313.6 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005415/0.2525, allocations: 0.5033 MB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.212e-05/0.2525, allocations: 11.98 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003977/0.2529, allocations: 271.6 kB / 1.091 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002988/0.2532, allocations: 155.5 kB / 1.091 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.255e-05/0.2533, allocations: 28 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.894e-05/0.2534, allocations: 24 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.2535, allocations: 107.7 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001629/0.2537, allocations: 187 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003767/0.2541, allocations: 434.3 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2541, allocations: 0 / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2541, allocations: 0 / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.898e-06/0.2541, allocations: 0 / 1.091 GB, free: 14.08 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001263/0.2554, allocations: 0.8587 MB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.2554, allocations: 12.03 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.934e-05/0.2555, allocations: 42.67 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.2556, allocations: 52.47 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004268/0.256, allocations: 302.3 kB / 1.093 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.482e-05/0.2561, allocations: 16.36 kB / 1.093 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.642e-05/0.2562, allocations: 32.36 kB / 1.093 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009646/0.2571, allocations: 220.9 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.2572, allocations: 3.938 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.2572, allocations: 0 / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.2572, allocations: 4 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007557/0.258, allocations: 95.91 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004172/0.2584, allocations: 393.2 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.2594, allocations: 178.4 kB / 1.094 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007415/0.2602, allocations: 116.8 kB / 1.094 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.2602, allocations: 3.938 kB / 1.094 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009875/0.2612, allocations: 226.1 kB / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 3.146e-06/0.2612, allocations: 7.984 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.002496/0.2637, allocations: 484.8 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.2638, allocations: 63.41 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003736/0.2642, allocations: 405.9 kB / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.038e-05/0.2642, allocations: 41.69 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.348e-05/0.2643, allocations: 97.38 kB / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.832e-05/0.2644, allocations: 43.5 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/0.2646, allocations: 125.3 kB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.2647, allocations: 322.8 kB / 1.095 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/0.2649, allocations: 111.9 kB / 1.096 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002678/0.2652, allocations: 174.9 kB / 1.096 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003521/0.2656, allocations: 282.9 kB / 1.096 GB, free: 9.133 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2656, allocations: 0 / 1.096 GB, free: 9.133 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007897/0.2664, allocations: 492.6 kB / 1.096 GB, free: 8.633 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.989e-05/0.2665, allocations: 91.31 kB / 1.097 GB, free: 8.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.2665, allocations: 3.938 kB / 1.097 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.2665, allocations: 4 kB / 1.097 GB, free: 8.523 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.2666, allocations: 28.11 kB / 1.097 GB, free: 8.496 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.2667, allocations: 3.984 kB / 1.097 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004621/0.2671, allocations: 63.78 kB / 1.097 GB, free: 8.43 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.33e-05/0.2672, allocations: 63.98 kB / 1.097 GB, free: 8.367 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.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.0001996/0.2674, allocations: 195.9 kB / 1.097 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.497e-05/0.2675, allocations: 43.47 kB / 1.097 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.216e-05/0.2676, allocations: 43.73 kB / 1.097 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.2676, allocations: 0 / 1.097 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.2676, allocations: 4 kB / 1.097 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2676, allocations: 0 / 1.097 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002175/0.2698, allocations: 0.7443 MB / 1.098 GB, free: 7.262 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.2698, allocations: 3.984 kB / 1.098 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.535e-05/0.2698, allocations: 4 kB / 1.098 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.2699, allocations: 0 / 1.098 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.749e-05/0.2699, allocations: 19.97 kB / 1.098 GB, free: 7.234 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.2699, allocations: 4 kB / 1.098 GB, free: 7.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2699, allocations: 0 / 1.098 GB, free: 7.23 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001732/0.2716, allocations: 469.7 kB / 1.098 GB, free: 6.758 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002928/0.2719, allocations: 208.4 kB / 1.098 GB, free: 6.535 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.851e-05/0.272, allocations: 11.94 kB / 1.098 GB, free: 6.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004657/0.2725, allocations: 35.97 kB / 1.098 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.103e-05/0.2726, allocations: 7.984 kB / 1.098 GB, free: 6.48 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.333e-05/0.2726, allocations: 63.91 kB / 1.098 GB, free: 6.418 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000288/0.2729, allocations: 291.1 kB / 1.099 GB, free: 6.137 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2729, allocations: 4 kB / 1.099 GB, free: 6.133 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003604/0.2733, allocations: 64 kB / 1.099 GB, free: 6.07 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.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.002015/0.2753, allocations: 1.018 MB / 1.1 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001234/0.2766, allocations: 445.3 kB / 1.1 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.2766, allocations: 0 / 1.1 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007569/0.2774, allocations: 119.9 kB / 1.1 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.2777, allocations: 25.92 kB / 1.1 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003919/0.2817, allocations: 2.785 MB / 1.103 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.282, allocations: 0.7708 MB / 1.104 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.516e-05/0.2821, allocations: 21 kB / 1.104 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.843e-05/0.2821, allocations: 27.42 kB / 1.104 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of SimCode: time 4.11e-07/0.2821, allocations: 0 / 1.104 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02301/0.3051, allocations: 6.224 MB / 1.11 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.41/7.715, allocations: 3.547 kB / 1.11 GB, free: 10.43 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches