Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_latest_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_latest_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/Buildings 10.0.0-master/package.mo): time 2.238/2.238, allocations: 390.3 MB / 402.8 MB, free: 6.684 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 180.9 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 221.3 MB / 0.7915 GB, free: 5.395 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008719/0.0008719, allocations: 95.89 kB / 0.9317 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.02e-05/4.023e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3056, allocations: 143 MB / 1.219 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.02/1.326, allocations: 152.9 MB / 1.368 GB, free: 0.7695 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/1.326, allocations: 69.77 kB / 1.368 GB, free: 0.7305 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01548/1.341, allocations: 5.347 MB / 1.374 GB, free: 12.14 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.172e-06/1.341, allocations: 0 / 1.374 GB, free: 12.14 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.353e-05/1.341, allocations: 4 kB / 1.374 GB, free: 12.14 MB / 0.8386 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.000798/1.342, allocations: 0.6471 MB / 1.374 GB, free: 11.43 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/1.342, allocations: 8.031 kB / 1.374 GB, free: 11.43 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.925e-05/1.342, allocations: 42.11 kB / 1.374 GB, free: 11.38 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.809e-05/1.342, allocations: 42.7 kB / 1.374 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/1.343, allocations: 277.2 kB / 1.375 GB, free: 11.05 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.792e-05/1.343, allocations: 15.56 kB / 1.375 GB, free: 11.04 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.139e-05/1.343, allocations: 23.67 kB / 1.375 GB, free: 11.02 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003078/1.343, allocations: 174.6 kB / 1.375 GB, free: 10.88 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/1.343, allocations: 4 kB / 1.375 GB, free: 10.88 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.612e-05/1.343, allocations: 0 / 1.375 GB, free: 10.88 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/1.343, allocations: 0 / 1.375 GB, free: 10.88 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/1.344, allocations: 65.61 kB / 1.375 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/1.345, allocations: 0.6037 MB / 1.375 GB, free: 10.3 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/1.345, allocations: 113.2 kB / 1.375 GB, free: 10.21 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/1.345, allocations: 61.34 kB / 1.376 GB, free: 10.17 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/1.345, allocations: 15.97 kB / 1.376 GB, free: 10.16 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002309/1.345, allocations: 162.6 kB / 1.376 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 3.176e-06/1.345, allocations: 0 / 1.376 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.000531/1.346, allocations: 259 kB / 1.376 GB, free: 9.801 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/1.346, allocations: 66.8 kB / 1.376 GB, free: 9.727 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000266/1.346, allocations: 285.3 kB / 1.376 GB, free: 9.492 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.578e-05/1.346, allocations: 33.08 kB / 1.376 GB, free: 9.457 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.186e-05/1.346, allocations: 108.5 kB / 1.376 GB, free: 9.355 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/1.346, allocations: 38.47 kB / 1.376 GB, free: 9.324 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-05/1.346, allocations: 11.5 kB / 1.376 GB, free: 9.316 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001037/1.346, allocations: 322.3 kB / 1.377 GB, free: 8.996 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002387/1.347, allocations: 105.9 kB / 1.377 GB, free: 8.93 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002774/1.347, allocations: 163.9 kB / 1.377 GB, free: 8.793 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/1.347, allocations: 158.9 kB / 1.377 GB, free: 8.66 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/1.347, allocations: 0 / 1.377 GB, free: 8.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007857/1.348, allocations: 423.4 kB / 1.378 GB, free: 8.309 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.263e-05/1.348, allocations: 76.58 kB / 1.378 GB, free: 8.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/1.348, allocations: 0 / 1.378 GB, free: 8.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/1.348, allocations: 4 kB / 1.378 GB, free: 8.227 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/1.348, allocations: 27.91 kB / 1.378 GB, free: 8.199 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/1.348, allocations: 0 / 1.378 GB, free: 8.199 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003854/1.349, allocations: 47.39 kB / 1.378 GB, free: 8.156 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.429e-05/1.349, allocations: 54.86 kB / 1.378 GB, free: 8.105 MB / 0.8386 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 () * 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.0001384/1.349, allocations: 131.9 kB / 1.378 GB, free: 7.98 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.988e-05/1.349, allocations: 23.72 kB / 1.378 GB, free: 7.957 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.091e-05/1.349, allocations: 32.52 kB / 1.378 GB, free: 7.938 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/1.349, allocations: 0 / 1.378 GB, free: 7.938 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.349, allocations: 0 / 1.378 GB, free: 7.938 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/1.349, allocations: 3.984 kB / 1.378 GB, free: 7.934 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009497/1.35, allocations: 0.6468 MB / 1.379 GB, free: 7.328 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/1.35, allocations: 0 / 1.379 GB, free: 7.328 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.282e-05/1.35, allocations: 4 kB / 1.379 GB, free: 7.324 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/1.35, allocations: 0 / 1.379 GB, free: 7.324 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.041e-05/1.35, allocations: 19.34 kB / 1.379 GB, free: 7.309 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/1.35, allocations: 0 / 1.379 GB, free: 7.309 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/1.35, allocations: 0 / 1.379 GB, free: 7.309 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004602/1.351, allocations: 360.9 kB / 1.379 GB, free: 6.984 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001963/1.351, allocations: 192.5 kB / 1.379 GB, free: 6.809 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.556e-05/1.351, allocations: 18.75 kB / 1.379 GB, free: 6.801 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004085/1.351, allocations: 31.97 kB / 1.379 GB, free: 6.77 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/1.351, allocations: 15.23 kB / 1.379 GB, free: 6.758 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.315e-05/1.351, allocations: 39.97 kB / 1.379 GB, free: 6.719 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001912/1.352, allocations: 227.3 kB / 1.379 GB, free: 6.535 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.352, allocations: 0 / 1.379 GB, free: 6.535 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003158/1.352, allocations: 60.11 kB / 1.38 GB, free: 6.48 MB / 0.8386 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) * 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.000782/1.353, allocations: 0.9223 MB / 1.38 GB, free: 5.578 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005126/1.353, allocations: 353.3 kB / 1.381 GB, free: 5.293 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.353, allocations: 8.062 kB / 1.381 GB, free: 5.285 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001245/1.353, allocations: 73.84 kB / 1.381 GB, free: 5.234 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/1.354, allocations: 22.95 kB / 1.381 GB, free: 5.219 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007601/1.355, allocations: 380.5 kB / 1.381 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/1.355, allocations: 0.7546 MB / 1.382 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.097e-05/1.355, allocations: 13.2 kB / 1.382 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.047e-05/1.355, allocations: 37.17 kB / 1.382 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of SimCode: time 3.9e-07/1.355, allocations: 4 kB / 1.382 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01607/1.371, allocations: 5.546 MB / 1.387 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001729/1.371, allocations: 191.1 kB / 1.388 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/3.021, allocations: 0 / 1.388 GB, free: 14.48 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus_res.mat does not exist to compare? outputFormat=mat