Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.252/2.252, allocations: 387.4 MB / 394.9 MB, free: 13.42 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.001101/0.001101, allocations: 176.8 kB / 487.4 MB, free: 5.043 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.553/1.553, allocations: 221.5 MB / 0.7824 GB, free: 1.004 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008649/0.0008649, allocations: 107.8 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.538e-05/2.541e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2704, allocations: 142.4 MB / 1.206 GB, free: 43.81 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9039/1.174, allocations: 151.5 MB / 1.354 GB, free: 18.16 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002279/1.175, allocations: 70.88 kB / 1.354 GB, free: 18.16 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01551/1.19, allocations: 5.311 MB / 1.359 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.263e-06/1.19, allocations: 0 / 1.359 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.469e-05/1.19, allocations: 3.969 kB / 1.359 GB, free: 33.55 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.0007501/1.191, allocations: 0.6489 MB / 1.36 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/1.191, allocations: 18.03 kB / 1.36 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/1.191, allocations: 38.91 kB / 1.36 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003284/1.191, allocations: 272.9 kB / 1.36 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.352e-05/1.192, allocations: 8.719 kB / 1.36 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.516e-05/1.192, allocations: 18.42 kB / 1.36 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001231/1.192, allocations: 55.66 kB / 1.36 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/1.192, allocations: 170.4 kB / 1.36 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/1.192, allocations: 0 / 1.36 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.688e-05/1.192, allocations: 5.531 kB / 1.36 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/1.192, allocations: 0 / 1.36 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009888/1.193, allocations: 0.5648 MB / 1.361 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/1.193, allocations: 111.3 kB / 1.361 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.828e-05/1.193, allocations: 63.61 kB / 1.361 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.271e-05/1.193, allocations: 7.781 kB / 1.361 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002259/1.194, allocations: 165.2 kB / 1.361 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.492e-06/1.194, allocations: 0 / 1.361 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0004593/1.194, allocations: 248.2 kB / 1.362 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/1.194, allocations: 65.36 kB / 1.362 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002543/1.194, allocations: 272 kB / 1.362 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.487e-05/1.194, allocations: 36.77 kB / 1.362 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.525e-05/1.194, allocations: 95.66 kB / 1.362 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/1.195, allocations: 33.38 kB / 1.362 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/1.195, allocations: 7.812 kB / 1.362 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001285/1.195, allocations: 331.5 kB / 1.362 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/1.195, allocations: 87.5 kB / 1.362 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/1.195, allocations: 147.5 kB / 1.363 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/1.195, allocations: 83.52 kB / 1.363 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.195, allocations: 0 / 1.363 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004805/1.196, allocations: 323.4 kB / 1.363 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.373e-05/1.196, allocations: 75.48 kB / 1.363 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/1.196, allocations: 4.891 kB / 1.363 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/1.196, allocations: 3.844 kB / 1.363 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/1.196, allocations: 28.17 kB / 1.363 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/1.196, allocations: 3.844 kB / 1.363 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003025/1.196, allocations: 42.77 kB / 1.363 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.862e-05/1.196, allocations: 40.72 kB / 1.363 GB, free: 31.45 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.000126/1.196, allocations: 127.4 kB / 1.363 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003033/1.197, allocations: 243.2 kB / 1.364 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.527e-05/1.197, allocations: 34 kB / 1.364 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.629e-05/1.197, allocations: 28.23 kB / 1.364 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/1.197, allocations: 3.844 kB / 1.364 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/1.197, allocations: 3.938 kB / 1.364 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/1.197, allocations: 0 / 1.364 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006208/1.198, allocations: 0.6026 MB / 1.364 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/1.198, allocations: 0 / 1.364 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.503e-05/1.198, allocations: 10.72 kB / 1.364 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/1.198, allocations: 0 / 1.364 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.979e-05/1.198, allocations: 19.2 kB / 1.364 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/1.198, allocations: 0 / 1.364 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/1.198, allocations: 4 kB / 1.364 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003302/1.198, allocations: 349.9 kB / 1.365 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/1.198, allocations: 195 kB / 1.365 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.653e-05/1.198, allocations: 14.44 kB / 1.365 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004006/1.199, allocations: 27.67 kB / 1.365 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/1.199, allocations: 13.36 kB / 1.365 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.44e-05/1.199, allocations: 43.16 kB / 1.365 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001802/1.199, allocations: 221.1 kB / 1.365 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.199, allocations: 0 / 1.365 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003188/1.199, allocations: 50.38 kB / 1.365 GB, free: 30.61 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.0007421/1.2, allocations: 0.9232 MB / 1.366 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004436/1.2, allocations: 345.6 kB / 1.366 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/1.2, allocations: 0 / 1.366 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.34e-05/1.201, allocations: 72.34 kB / 1.366 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/1.201, allocations: 27.48 kB / 1.366 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007259/1.202, allocations: 359.2 kB / 1.367 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/1.202, allocations: 0.7587 MB / 1.367 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.29e-05/1.202, allocations: 12.31 kB / 1.368 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.718e-05/1.202, allocations: 35.56 kB / 1.368 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of SimCode: time 2.8e-07/1.202, allocations: 0 / 1.368 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02219/1.224, allocations: 5.032 MB / 1.372 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001909/1.225, allocations: 175.1 kB / 1.373 GB, free: 28.19 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.617/2.842, allocations: 1.875 kB / 1.373 GB, free: 28.19 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus_res.mat does not exist to compare? outputFormat=mat