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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.0009503/0.0009502, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001128/0.001128, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 223.2 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.446/2.446, allocations: 390.4 MB / 0.6655 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003724/0.0003726, allocations: 12 kB / 0.8149 GB, free: 14.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.786/0.7864, allocations: 142.3 MB / 0.9539 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.001667/0.7881, allocations: 1.356 MB / 0.9552 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009714/0.7891, allocations: 467.2 kB / 0.9557 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.094e-05/0.7892, allocations: 0 / 0.9557 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.32e-05/0.7893, allocations: 12.98 kB / 0.9557 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.7894, allocations: 23.06 kB / 0.9557 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005864/0.79, allocations: 223.2 kB / 0.9559 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000337/0.7903, allocations: 322.9 kB / 0.9562 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.7904, allocations: 29.97 kB / 0.9562 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003672/0.7908, allocations: 232.3 kB / 0.9565 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002228/0.7911, allocations: 139.8 kB / 0.9566 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.073e-05/0.7911, allocations: 10.84 kB / 0.9566 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.589e-05/0.7912, allocations: 9.5 kB / 0.9566 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.7913, allocations: 89.42 kB / 0.9567 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.939e-05/0.7914, allocations: 79.23 kB / 0.9568 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002545/0.7916, allocations: 323.4 kB / 0.9571 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.7916, allocations: 0 / 0.9571 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.535e-06/0.7916, allocations: 1.688 kB / 0.9571 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.922e-06/0.7917, allocations: 3.938 kB / 0.9571 GB, free: 5.863 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.000814/0.7925, allocations: 0.6796 MB / 0.9578 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.7925, allocations: 12.97 kB / 0.9578 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.058e-05/0.7926, allocations: 50.05 kB / 0.9578 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.565e-05/0.7927, allocations: 35.34 kB / 0.9578 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.7929, allocations: 266.3 kB / 0.9581 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.596e-05/0.793, allocations: 15 kB / 0.9581 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.915e-05/0.7931, allocations: 31 kB / 0.9581 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008187/0.7939, allocations: 235.1 kB / 0.9584 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.7939, allocations: 0 / 0.9584 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/0.7939, allocations: 5.359 kB / 0.9584 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.7939, allocations: 5.312 kB / 0.9584 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006582/0.7946, allocations: 125.5 kB / 0.9585 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000928/0.7955, allocations: 0.5637 MB / 0.959 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009012/0.7965, allocations: 204.5 kB / 0.9592 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006403/0.7971, allocations: 118.9 kB / 0.9594 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.7971, allocations: 6.172 kB / 0.9594 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007902/0.7979, allocations: 223.3 kB / 0.9596 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.7979, allocations: 0 / 0.9596 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002168/0.8001, allocations: 0.4888 MB / 0.9601 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.8002, allocations: 60.38 kB / 0.9601 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000282/0.8005, allocations: 316.2 kB / 0.9604 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4e-05/0.8005, allocations: 36.67 kB / 0.9604 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.823e-05/0.8006, allocations: 98.81 kB / 0.9605 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.606e-05/0.8006, allocations: 45.88 kB / 0.9606 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/0.8007, allocations: 8.031 kB / 0.9606 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.439e-05/0.8007, allocations: 321.8 kB / 0.9609 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.8009, allocations: 92.42 kB / 0.961 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.8011, allocations: 153.7 kB / 0.9611 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/0.8014, allocations: 166.2 kB / 0.9613 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.8014, allocations: 1.125 kB / 0.9613 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006368/0.802, allocations: 415.1 kB / 0.9617 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.714e-05/0.8021, allocations: 79.64 kB / 0.9618 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.8021, allocations: 1.5 kB / 0.9618 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.8021, allocations: 11.44 kB / 0.9618 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.8023, allocations: 22.27 kB / 0.9618 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.8023, allocations: 2.875 kB / 0.9618 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004213/0.8027, allocations: 64.77 kB / 0.9619 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.668e-05/0.8028, allocations: 39.05 kB / 0.9619 GB, free: 2.223 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 ($PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition1,calTim.calTim.hourSampleTrigger,$whenCondition2,calTim.calTim.daySampleTrigger,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00017/0.803, allocations: 190 kB / 0.9621 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.14e-05/0.803, allocations: 37.19 kB / 0.9621 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.975e-05/0.8031, allocations: 32.39 kB / 0.9621 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.8031, allocations: 5.391 kB / 0.9622 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.8031, allocations: 1.375 kB / 0.9622 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.8031, allocations: 0 / 0.9622 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/0.8048, allocations: 0.7508 MB / 0.9629 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.8049, allocations: 0 / 0.9629 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.225e-05/0.8049, allocations: 4.562 kB / 0.9629 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.8049, allocations: 9.016 kB / 0.9629 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.805, allocations: 19.88 kB / 0.9629 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.805, allocations: 1.062 kB / 0.9629 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.805, allocations: 1.312 kB / 0.9629 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/0.8064, allocations: 481.6 kB / 0.9634 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001566/0.8065, allocations: 183.4 kB / 0.9636 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.869e-05/0.8066, allocations: 27.42 kB / 0.9636 GB, free: 1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003936/0.807, allocations: 31.56 kB / 0.9636 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.883e-05/0.807, allocations: 8.984 kB / 0.9636 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.403e-05/0.8071, allocations: 45.81 kB / 0.9637 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001808/0.8073, allocations: 223.2 kB / 0.9639 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8073, allocations: 0.8438 kB / 0.9639 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003261/0.8076, allocations: 55.69 kB / 0.9639 GB, free: 0.8164 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001695/0.8093, allocations: 1.029 MB / 0.9649 GB, free: 16 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001233/0.8106, allocations: 405.6 kB / 0.9653 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.8106, allocations: 0.9375 kB / 0.9653 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007256/0.8113, allocations: 132.5 kB / 0.9654 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004259/0.8118, allocations: 44.67 kB / 0.9655 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002737/0.8145, allocations: 1.334 MB / 0.9668 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.8148, allocations: 0.7511 MB / 0.9675 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.388e-05/0.8149, allocations: 17.73 kB / 0.9675 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.104e-05/0.815, allocations: 30.7 kB / 0.9676 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of SimCode: time 6.71e-07/0.815, allocations: 0 / 0.9676 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01677/0.8318, allocations: 5.064 MB / 0.9725 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000223/0.832, allocations: 215.9 kB / 0.9727 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.829/2.661, allocations: 0 / 0.9727 GB, free: 11.31 MB / 0.7325 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths_res.mat does not exist to compare? outputFormat=mat