Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus",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.001243/0.001243, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001437/0.001437, allocations: 177.3 kB / 15.94 MB, free: 228 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.468/1.468, allocations: 223.2 MB / 239.9 MB, free: 5.32 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.431/2.431, allocations: 390.3 MB / 0.6653 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003461/0.0003462, allocations: 16 kB / 0.8147 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8102/0.8106, allocations: 142.3 MB / 0.9536 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.001734/0.8124, allocations: 1.36 MB / 0.9549 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00102/0.8134, allocations: 457.3 kB / 0.9554 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.293e-05/0.8135, allocations: 0 / 0.9554 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.841e-05/0.8135, allocations: 7.922 kB / 0.9554 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001238/0.8137, allocations: 21.38 kB / 0.9554 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006054/0.8143, allocations: 225.6 kB / 0.9556 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.8145, allocations: 187.2 kB / 0.9558 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.8146, allocations: 34.36 kB / 0.9558 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002567/0.8149, allocations: 171.8 kB / 0.956 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002132/0.8151, allocations: 133.7 kB / 0.9561 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.109e-05/0.8152, allocations: 10.59 kB / 0.9561 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.951e-05/0.8152, allocations: 9.719 kB / 0.9561 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.8153, allocations: 83.84 kB / 0.9562 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.594e-05/0.8154, allocations: 74.86 kB / 0.9563 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002529/0.8157, allocations: 336.7 kB / 0.9566 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.205e-06/0.8157, allocations: 0 / 0.9566 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8157, allocations: 0 / 0.9566 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.8157, allocations: 0 / 0.9566 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.0007973/0.8165, allocations: 0.6823 MB / 0.9573 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.8166, allocations: 9.5 kB / 0.9573 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.644e-05/0.8166, allocations: 41.27 kB / 0.9573 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.8167, allocations: 35.22 kB / 0.9574 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/0.817, allocations: 277.9 kB / 0.9576 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.565e-05/0.8171, allocations: 19.3 kB / 0.9577 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.962e-05/0.8172, allocations: 23.95 kB / 0.9577 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009182/0.8181, allocations: 234.8 kB / 0.9579 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.8181, allocations: 1.125 kB / 0.9579 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.611e-05/0.8181, allocations: 1.156 kB / 0.9579 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.8182, allocations: 2.438 kB / 0.9579 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007541/0.8189, allocations: 131.9 kB / 0.958 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.8199, allocations: 0.5607 MB / 0.9586 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009876/0.8209, allocations: 196.7 kB / 0.9588 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.821, allocations: 5.406 kB / 0.9588 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000862/0.8218, allocations: 229.9 kB / 0.959 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.743e-06/0.8219, allocations: 4 kB / 0.959 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002355/0.8242, allocations: 490.4 kB / 0.9595 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.8243, allocations: 64.44 kB / 0.9595 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002853/0.8246, allocations: 311.7 kB / 0.9598 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.534e-05/0.8246, allocations: 40.03 kB / 0.9599 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.173e-05/0.8247, allocations: 103.1 kB / 0.96 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.228e-05/0.8247, allocations: 41.7 kB / 0.96 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.8248, allocations: 8.281 kB / 0.96 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.81e-05/0.8248, allocations: 321.5 kB / 0.9603 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.825, allocations: 97.03 kB / 0.9604 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/0.8253, allocations: 149.3 kB / 0.9605 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002128/0.8255, allocations: 160.3 kB / 0.9607 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.8255, allocations: 0.7812 kB / 0.9607 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006262/0.8261, allocations: 420.6 kB / 0.9611 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.231e-05/0.8262, allocations: 80.06 kB / 0.9612 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.8262, allocations: 1.219 kB / 0.9612 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.8262, allocations: 7.766 kB / 0.9612 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.8264, allocations: 21.95 kB / 0.9612 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.8264, allocations: 6.719 kB / 0.9612 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004807/0.8269, allocations: 60.14 kB / 0.9613 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-05/0.827, allocations: 46.95 kB / 0.9613 GB, free: 2.273 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.0001863/0.8272, allocations: 191.3 kB / 0.9615 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.601e-05/0.8272, allocations: 27.94 kB / 0.9615 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.212e-05/0.8273, allocations: 36.77 kB / 0.9616 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.8273, allocations: 1.562 kB / 0.9616 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.8273, allocations: 8.984 kB / 0.9616 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.8273, allocations: 0 / 0.9616 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002/0.8293, allocations: 0.7431 MB / 0.9623 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.8293, allocations: 0 / 0.9623 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.448e-05/0.8294, allocations: 7.344 kB / 0.9623 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.8294, allocations: 9.141 kB / 0.9623 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.361e-05/0.8294, allocations: 20.84 kB / 0.9623 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.8294, allocations: 1.375 kB / 0.9623 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.8294, allocations: 0 / 0.9623 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001612/0.831, allocations: 474.4 kB / 0.9628 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001964/0.8313, allocations: 184.8 kB / 0.963 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.315e-05/0.8313, allocations: 27.39 kB / 0.963 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004486/0.8318, allocations: 39.8 kB / 0.963 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.8318, allocations: 3.75 kB / 0.963 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.847e-05/0.8319, allocations: 41.78 kB / 0.9631 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002142/0.8321, allocations: 227.9 kB / 0.9633 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8321, allocations: 0 / 0.9633 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004/0.8325, allocations: 59.55 kB / 0.9633 GB, free: 0.8711 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.001973/0.8345, allocations: 1.029 MB / 0.9643 GB, free: 72 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001267/0.8358, allocations: 410.4 kB / 0.9647 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.8358, allocations: 3.938 kB / 0.9647 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007835/0.8366, allocations: 140.1 kB / 0.9649 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.8369, allocations: 27.97 kB / 0.9649 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002187/0.8391, allocations: 1.706 MB / 0.9666 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.8395, allocations: 0.7611 MB / 0.9673 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.523e-05/0.8396, allocations: 13.33 kB / 0.9673 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.838e-05/0.8397, allocations: 30.67 kB / 0.9674 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of SimCode: time 7.02e-07/0.8397, allocations: 4 kB / 0.9674 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01661/0.8563, allocations: 5.04 MB / 0.9723 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001926/0.8565, allocations: 213.2 kB / 0.9725 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.666/2.523, allocations: 0 / 0.9725 GB, free: 10.74 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus_res.mat does not exist to compare? outputFormat=mat