Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.317/2.317, 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.001038/0.001038, allocations: 188.9 kB / 496.1 MB, free: 12.86 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.431/1.431, allocations: 221.3 MB / 0.7915 GB, free: 5.391 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.0008964/0.0008966, allocations: 99.53 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.846e-05/3.874e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2737, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9836/1.257, allocations: 152.9 MB / 1.368 GB, free: 1.113 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003349/1.258, allocations: 76.94 kB / 1.368 GB, free: 1.07 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01674/1.275, allocations: 5.342 MB / 1.374 GB, free: 12.49 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.322e-06/1.275, allocations: 4 kB / 1.374 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.761e-05/1.275, allocations: 4 kB / 1.374 GB, free: 12.48 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.0009/1.275, allocations: 0.647 MB / 1.374 GB, free: 11.77 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/1.276, allocations: 12.03 kB / 1.374 GB, free: 11.76 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.742e-05/1.276, allocations: 42.3 kB / 1.374 GB, free: 11.71 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/1.276, allocations: 39.58 kB / 1.374 GB, free: 11.68 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004114/1.276, allocations: 275 kB / 1.375 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.76e-05/1.276, allocations: 22.19 kB / 1.375 GB, free: 11.38 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.204e-05/1.276, allocations: 16 kB / 1.375 GB, free: 11.36 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003278/1.277, allocations: 180.5 kB / 1.375 GB, free: 11.22 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/1.277, allocations: 0 / 1.375 GB, free: 11.22 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.93e-05/1.277, allocations: 3.984 kB / 1.375 GB, free: 11.21 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/1.277, allocations: 4 kB / 1.375 GB, free: 11.21 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001566/1.277, allocations: 61.98 kB / 1.375 GB, free: 11.17 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/1.278, allocations: 0.601 MB / 1.375 GB, free: 10.64 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002224/1.278, allocations: 118.5 kB / 1.375 GB, free: 10.55 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/1.278, allocations: 62.72 kB / 1.376 GB, free: 10.5 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/1.278, allocations: 0 / 1.376 GB, free: 10.5 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002595/1.279, allocations: 173.3 kB / 1.376 GB, free: 10.36 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.753e-06/1.279, allocations: 0 / 1.376 GB, free: 10.36 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0005676/1.279, allocations: 258.5 kB / 1.376 GB, free: 10.14 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/1.279, allocations: 66.48 kB / 1.376 GB, free: 10.06 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002997/1.28, allocations: 282 kB / 1.376 GB, free: 9.832 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.257e-05/1.28, allocations: 40.45 kB / 1.376 GB, free: 9.793 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/1.28, allocations: 96.03 kB / 1.376 GB, free: 9.699 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.383e-05/1.28, allocations: 46.34 kB / 1.376 GB, free: 9.66 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/1.28, allocations: 10.44 kB / 1.376 GB, free: 9.656 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001189/1.28, allocations: 322.2 kB / 1.377 GB, free: 9.336 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000232/1.28, allocations: 105.7 kB / 1.377 GB, free: 9.27 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002459/1.281, allocations: 149.8 kB / 1.377 GB, free: 9.145 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/1.281, allocations: 166.9 kB / 1.377 GB, free: 9.004 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/1.281, allocations: 4 kB / 1.377 GB, free: 9 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000702/1.282, allocations: 418.2 kB / 1.378 GB, free: 8.656 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.323e-05/1.282, allocations: 74.52 kB / 1.378 GB, free: 8.578 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/1.282, allocations: 11.98 kB / 1.378 GB, free: 8.566 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/1.282, allocations: 4 kB / 1.378 GB, free: 8.562 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/1.282, allocations: 23.48 kB / 1.378 GB, free: 8.543 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/1.282, allocations: 4 kB / 1.378 GB, free: 8.539 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000349/1.282, allocations: 47.69 kB / 1.378 GB, free: 8.496 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.984e-05/1.282, allocations: 43.98 kB / 1.378 GB, free: 8.453 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.00015/1.283, allocations: 139 kB / 1.378 GB, free: 8.32 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.529e-05/1.283, allocations: 27.72 kB / 1.378 GB, free: 8.293 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.908e-05/1.283, allocations: 28.39 kB / 1.378 GB, free: 8.277 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/1.283, allocations: 7.984 kB / 1.378 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/1.283, allocations: 0 / 1.378 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/1.283, allocations: 0 / 1.378 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000868/1.284, allocations: 0.6385 MB / 1.379 GB, free: 7.672 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/1.284, allocations: 4 kB / 1.379 GB, free: 7.668 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.871e-05/1.284, allocations: 4 kB / 1.379 GB, free: 7.664 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/1.284, allocations: 0 / 1.379 GB, free: 7.664 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.002e-05/1.284, allocations: 22.84 kB / 1.379 GB, free: 7.645 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/1.284, allocations: 3.938 kB / 1.379 GB, free: 7.641 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.284, allocations: 0 / 1.379 GB, free: 7.641 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005033/1.284, allocations: 359.3 kB / 1.379 GB, free: 7.316 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002377/1.284, allocations: 193 kB / 1.379 GB, free: 7.145 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.927e-05/1.285, allocations: 14.19 kB / 1.379 GB, free: 7.137 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004421/1.285, allocations: 34.72 kB / 1.379 GB, free: 7.105 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/1.285, allocations: 11.92 kB / 1.379 GB, free: 7.094 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.186e-05/1.285, allocations: 46.59 kB / 1.379 GB, free: 7.051 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000223/1.285, allocations: 224.5 kB / 1.379 GB, free: 6.867 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.285, allocations: 0 / 1.379 GB, free: 6.867 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003457/1.286, allocations: 59.98 kB / 1.38 GB, free: 6.816 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.0008549/1.287, allocations: 0.9253 MB / 1.38 GB, free: 5.914 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00058/1.287, allocations: 356.9 kB / 1.381 GB, free: 5.621 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.287, allocations: 384 / 1.381 GB, free: 5.621 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001381/1.287, allocations: 73.36 kB / 1.381 GB, free: 5.57 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/1.288, allocations: 27.31 kB / 1.381 GB, free: 5.551 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008416/1.288, allocations: 366.1 kB / 1.381 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/1.289, allocations: 0.7696 MB / 1.382 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.562e-05/1.289, allocations: 17.19 kB / 1.382 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.303e-05/1.289, allocations: 28.98 kB / 1.382 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of SimCode: time 3.61e-07/1.289, allocations: 0 / 1.382 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01908/1.308, allocations: 5.538 MB / 1.387 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/1.308, allocations: 190 kB / 1.388 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.626/2.935, allocations: 0 / 1.388 GB, free: 14.83 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus_res.mat does not exist to compare? outputFormat=mat