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.001022/0.001022, allocations: 99.86 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.001023/0.001023, allocations: 177.3 kB / 15.95 MB, free: 216 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.421/1.421, allocations: 223.2 MB / 239.9 MB, free: 5.457 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.527/2.527, allocations: 390.3 MB / 0.6653 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005041/0.0005042, allocations: 11.94 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8078/0.8083, allocations: 142.3 MB / 0.9536 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.00171/0.8101, allocations: 1.352 MB / 0.9549 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000839/0.811, allocations: 453.5 kB / 0.9554 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.646e-05/0.811, allocations: 0 / 0.9554 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.818e-05/0.8111, allocations: 3.938 kB / 0.9554 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001249/0.8112, allocations: 32.48 kB / 0.9554 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006095/0.8118, allocations: 225.7 kB / 0.9556 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002274/0.8121, allocations: 190.8 kB / 0.9558 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.8122, allocations: 26.02 kB / 0.9558 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002789/0.8125, allocations: 177 kB / 0.956 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002171/0.8127, allocations: 141.3 kB / 0.9561 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.188e-05/0.8128, allocations: 10.66 kB / 0.9561 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.053e-05/0.8128, allocations: 10.25 kB / 0.9562 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.8129, allocations: 75.47 kB / 0.9562 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.128e-05/0.813, allocations: 83.42 kB / 0.9563 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002729/0.8133, allocations: 323.2 kB / 0.9566 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.8133, allocations: 0 / 0.9566 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8133, allocations: 0 / 0.9566 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.8133, allocations: 1.312 kB / 0.9566 GB, free: 5.902 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.0008848/0.8142, allocations: 0.6814 MB / 0.9573 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/0.8143, allocations: 9.594 kB / 0.9573 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.34e-05/0.8143, allocations: 41.3 kB / 0.9573 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.8145, allocations: 39.41 kB / 0.9574 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003217/0.8148, allocations: 278.4 kB / 0.9576 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.21e-05/0.8148, allocations: 14.88 kB / 0.9576 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.899e-05/0.8149, allocations: 24.14 kB / 0.9577 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009387/0.8159, allocations: 234.9 kB / 0.9579 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.016e-06/0.8159, allocations: 1.375 kB / 0.9579 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.914e-05/0.8159, allocations: 5.203 kB / 0.9579 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.8159, allocations: 2.156 kB / 0.9579 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007295/0.8167, allocations: 121.1 kB / 0.958 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.8178, allocations: 0.5713 MB / 0.9586 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.8188, allocations: 191.8 kB / 0.9588 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.631e-05/0.8189, allocations: 7.094 kB / 0.9588 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009889/0.8199, allocations: 227.2 kB / 0.959 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 6.001e-06/0.8199, allocations: 0 / 0.959 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002653/0.8226, allocations: 497.4 kB / 0.9595 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.8226, allocations: 68.34 kB / 0.9595 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003382/0.823, allocations: 312.1 kB / 0.9598 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.407e-05/0.823, allocations: 36.58 kB / 0.9599 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.069e-05/0.8231, allocations: 106.5 kB / 0.96 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.651e-05/0.8232, allocations: 38.42 kB / 0.96 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-05/0.8232, allocations: 12.12 kB / 0.96 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.656e-05/0.8233, allocations: 321.6 kB / 0.9603 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000206/0.8235, allocations: 95.52 kB / 0.9604 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002227/0.8237, allocations: 153.5 kB / 0.9605 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/0.8239, allocations: 164.8 kB / 0.9607 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.8239, allocations: 0.9688 kB / 0.9607 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006895/0.8246, allocations: 412.2 kB / 0.9611 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.978e-05/0.8247, allocations: 75.8 kB / 0.9612 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.948e-05/0.8247, allocations: 2.062 kB / 0.9612 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.8248, allocations: 10.83 kB / 0.9612 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.825, allocations: 30 kB / 0.9612 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.825, allocations: 3.562 kB / 0.9612 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004848/0.8255, allocations: 63.53 kB / 0.9613 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.507e-05/0.8255, allocations: 43.8 kB / 0.9613 GB, free: 2.305 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.0001983/0.8257, allocations: 190.1 kB / 0.9615 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.084e-05/0.8258, allocations: 28.28 kB / 0.9615 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.949e-05/0.8259, allocations: 29.11 kB / 0.9616 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.8259, allocations: 2.219 kB / 0.9616 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.8259, allocations: 3.953 kB / 0.9616 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.311e-06/0.8259, allocations: 7.969 kB / 0.9616 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002054/0.828, allocations: 0.7488 MB / 0.9623 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.828, allocations: 4 kB / 0.9623 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.163e-05/0.828, allocations: 4.906 kB / 0.9623 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.828, allocations: 3.953 kB / 0.9623 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.327e-05/0.8281, allocations: 20.75 kB / 0.9623 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.8281, allocations: 5.234 kB / 0.9623 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.8281, allocations: 0 / 0.9623 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001629/0.8297, allocations: 484.3 kB / 0.9628 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002035/0.8299, allocations: 180.8 kB / 0.963 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.54e-05/0.83, allocations: 26.12 kB / 0.963 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004402/0.8305, allocations: 32.25 kB / 0.963 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.8305, allocations: 13.58 kB / 0.963 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.507e-05/0.8306, allocations: 45.41 kB / 0.9631 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002179/0.8308, allocations: 223.9 kB / 0.9633 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8308, allocations: 0 / 0.9633 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003516/0.8312, allocations: 55.69 kB / 0.9634 GB, free: 0.8984 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.001838/0.833, allocations: 1.026 MB / 0.9644 GB, free: 100 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001189/0.8342, allocations: 412.8 kB / 0.9647 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.8342, allocations: 3.938 kB / 0.9647 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007508/0.835, allocations: 124.3 kB / 0.9649 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.8353, allocations: 40.8 kB / 0.9649 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.8374, allocations: 1.708 MB / 0.9666 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.8377, allocations: 0.7525 MB / 0.9673 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.035e-05/0.8378, allocations: 18.3 kB / 0.9673 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.578e-05/0.8379, allocations: 33.58 kB / 0.9674 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.8379, allocations: 1.094 kB / 0.9674 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01752/0.8554, allocations: 5.029 MB / 0.9723 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001913/0.8557, allocations: 214.3 kB / 0.9725 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.694/2.55, allocations: 2.391 kB / 0.9725 GB, free: 10.77 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