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/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.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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.232/2.232, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001208/0.001209, allocations: 180.7 kB / 498.1 MB, free: 5.754 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.368/1.368, allocations: 223.2 MB / 0.7948 GB, free: 18.95 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.0008612/0.0008615, allocations: 98.25 kB / 0.9346 GB, free: 7.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003785/0.0003787, allocations: 11.53 kB / 1.084 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2497, allocations: 142.3 MB / 1.223 GB, free: 89.45 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1742/0.4239, allocations: 152.2 MB / 1.372 GB, free: 1.062 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/0.4242, allocations: 75.95 kB / 1.372 GB, free: 0.9883 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01679/0.441, allocations: 5.347 MB / 1.377 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.502e-06/0.441, allocations: 0 / 1.377 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.521e-05/0.441, allocations: 4 kB / 1.377 GB, free: 11.63 MB / 0.8855 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.001087/0.4421, allocations: 0.6926 MB / 1.378 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.4422, allocations: 12.03 kB / 1.378 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.636e-05/0.4423, allocations: 42.55 kB / 1.378 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.4424, allocations: 39.58 kB / 1.378 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004746/0.4429, allocations: 275.1 kB / 1.378 GB, free: 10.44 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.475e-05/0.443, allocations: 20 kB / 1.378 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.325e-05/0.443, allocations: 23.98 kB / 1.378 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.4441, allocations: 235.1 kB / 1.378 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.4441, allocations: 4 kB / 1.378 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.047e-05/0.4441, allocations: 3.984 kB / 1.378 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.4441, allocations: 7.984 kB / 1.378 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000803/0.445, allocations: 115.9 kB / 1.378 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.4462, allocations: 0.594 MB / 1.379 GB, free: 9.391 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.4472, allocations: 190.5 kB / 1.379 GB, free: 9.195 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.4473, allocations: 0 / 1.379 GB, free: 9.195 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008765/0.4482, allocations: 239.1 kB / 1.379 GB, free: 8.949 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=16): time 1.954e-06/0.4482, allocations: 3.938 kB / 1.379 GB, free: 8.945 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16): time 0.00244/0.4506, allocations: 491.7 kB / 1.38 GB, free: 8.461 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.4507, allocations: 63.53 kB / 1.38 GB, free: 8.387 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003123/0.451, allocations: 287.6 kB / 1.38 GB, free: 8.102 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.38e-05/0.4511, allocations: 37.7 kB / 1.38 GB, free: 8.059 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.112e-05/0.4512, allocations: 97.05 kB / 1.38 GB, free: 7.961 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.568e-05/0.4512, allocations: 35.55 kB / 1.38 GB, free: 7.926 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.4513, allocations: 8 kB / 1.38 GB, free: 7.918 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.4514, allocations: 322.8 kB / 1.381 GB, free: 7.594 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002792/0.4517, allocations: 107.9 kB / 1.381 GB, free: 7.488 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002981/0.452, allocations: 170.9 kB / 1.381 GB, free: 7.301 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002794/0.4523, allocations: 167.3 kB / 1.381 GB, free: 7.125 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.4523, allocations: 0 / 1.381 GB, free: 7.125 MB / 0.8855 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008172/0.4531, allocations: 438 kB / 1.381 GB, free: 6.68 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.191e-05/0.4532, allocations: 79.39 kB / 1.382 GB, free: 6.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.4532, allocations: 7.984 kB / 1.382 GB, free: 6.582 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.4532, allocations: 0 / 1.382 GB, free: 6.582 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.4534, allocations: 23.92 kB / 1.382 GB, free: 6.559 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.4534, allocations: 4 kB / 1.382 GB, free: 6.555 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003463/0.4537, allocations: 44.03 kB / 1.382 GB, free: 6.512 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.189e-05/0.4538, allocations: 39.98 kB / 1.382 GB, free: 6.473 MB / 0.8855 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.0002212/0.454, allocations: 196.2 kB / 1.382 GB, free: 6.273 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.73e-05/0.4541, allocations: 27.72 kB / 1.382 GB, free: 6.246 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.434e-05/0.4542, allocations: 26.36 kB / 1.382 GB, free: 6.215 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.4542, allocations: 4 kB / 1.382 GB, free: 6.211 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4542, allocations: 0 / 1.382 GB, free: 6.211 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4542, allocations: 0 / 1.382 GB, free: 6.211 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002055/0.4562, allocations: 0.7558 MB / 1.383 GB, free: 5.398 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4563, allocations: 0 / 1.383 GB, free: 5.398 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.67e-05/0.4563, allocations: 8 kB / 1.383 GB, free: 5.391 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.4563, allocations: 0 / 1.383 GB, free: 5.391 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.861e-05/0.4564, allocations: 15.97 kB / 1.383 GB, free: 5.375 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.4564, allocations: 4 kB / 1.383 GB, free: 5.371 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.4564, allocations: 3.938 kB / 1.383 GB, free: 5.367 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/0.4581, allocations: 482.8 kB / 1.383 GB, free: 4.879 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002312/0.4583, allocations: 188.7 kB / 1.383 GB, free: 4.676 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.731e-05/0.4584, allocations: 16 kB / 1.383 GB, free: 4.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004279/0.4588, allocations: 35.97 kB / 1.383 GB, free: 4.625 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.4589, allocations: 7.984 kB / 1.383 GB, free: 4.617 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.454e-05/0.4589, allocations: 39.98 kB / 1.383 GB, free: 4.578 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002139/0.4592, allocations: 235 kB / 1.384 GB, free: 4.344 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4592, allocations: 0 / 1.384 GB, free: 4.344 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003404/0.4595, allocations: 52.25 kB / 1.384 GB, free: 4.293 MB / 0.8855 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.002089/0.4616, allocations: 1.054 MB / 1.385 GB, free: 3.215 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001258/0.4629, allocations: 426.5 kB / 1.385 GB, free: 2.773 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.4629, allocations: 0 / 1.385 GB, free: 2.773 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007234/0.4636, allocations: 128.3 kB / 1.385 GB, free: 2.648 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.4639, allocations: 32.56 kB / 1.385 GB, free: 2.617 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.466, allocations: 1.713 MB / 1.387 GB, free: 0.8281 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.4664, allocations: 0.7516 MB / 1.388 GB, free: 52 kB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.884e-05/0.4665, allocations: 21.41 kB / 1.388 GB, free: 32 kB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.16e-05/0.4666, allocations: 35.42 kB / 1.388 GB, free: 16 MB / 0.9011 GB Notification: Performance of SimCode: time 2.71e-07/0.4666, allocations: 0 / 1.388 GB, free: 16 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02017/0.4867, allocations: 5.487 MB / 1.393 GB, free: 10.7 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002148/0.487, allocations: 218.8 kB / 1.393 GB, free: 10.45 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.616/2.103, allocations: 6.75 kB / 1.393 GB, free: 10.45 MB / 0.9011 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