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.454/2.454, allocations: 393.5 MB / 408.4 MB, free: 10.94 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.001077/0.001077, allocations: 187.9 kB / 0.4901 GB, free: 2.086 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.591/1.591, allocations: 223.1 MB / 0.7992 GB, free: 15.73 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.0009787/0.0009787, allocations: 100.2 kB / 0.9396 GB, free: 2.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000374/0.0003741, allocations: 11.98 kB / 1.09 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2748, allocations: 143 MB / 1.229 GB, free: 85.38 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1969/0.4717, allocations: 153 MB / 1.379 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/0.472, allocations: 75.94 kB / 1.379 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01717/0.4892, allocations: 5.364 MB / 1.384 GB, free: 6.758 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4892, allocations: 0 / 1.384 GB, free: 6.758 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.197e-05/0.4893, allocations: 4 kB / 1.384 GB, free: 6.754 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.001213/0.4905, allocations: 0.6881 MB / 1.385 GB, free: 5.977 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.4906, allocations: 8.031 kB / 1.385 GB, free: 5.969 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.106e-05/0.4907, allocations: 42.55 kB / 1.385 GB, free: 5.918 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/0.4908, allocations: 39.58 kB / 1.385 GB, free: 5.879 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000496/0.4913, allocations: 275.2 kB / 1.385 GB, free: 5.57 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.603e-05/0.4914, allocations: 16 kB / 1.385 GB, free: 5.555 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.511e-05/0.4915, allocations: 23.98 kB / 1.385 GB, free: 5.531 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.4926, allocations: 226.4 kB / 1.385 GB, free: 5.305 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.4926, allocations: 4 kB / 1.385 GB, free: 5.301 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.026e-05/0.4926, allocations: 7.984 kB / 1.385 GB, free: 5.293 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.4926, allocations: 4 kB / 1.385 GB, free: 5.289 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007813/0.4934, allocations: 115.9 kB / 1.385 GB, free: 5.176 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001388/0.4948, allocations: 0.6055 MB / 1.386 GB, free: 4.52 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009835/0.4958, allocations: 190.5 kB / 1.386 GB, free: 4.324 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.4959, allocations: 4 kB / 1.386 GB, free: 4.32 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009138/0.4968, allocations: 231.2 kB / 1.386 GB, free: 4.082 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=16): time 3.656e-06/0.4968, allocations: 7.875 kB / 1.386 GB, free: 4.074 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16): time 0.002519/0.4993, allocations: 487.6 kB / 1.387 GB, free: 3.594 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/0.4994, allocations: 63.53 kB / 1.387 GB, free: 3.52 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004018/0.4999, allocations: 291.6 kB / 1.387 GB, free: 3.23 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.285e-05/0.4999, allocations: 37.7 kB / 1.387 GB, free: 3.188 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.5, allocations: 101 kB / 1.387 GB, free: 3.086 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.036e-05/0.5001, allocations: 39.5 kB / 1.387 GB, free: 3.047 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/0.5001, allocations: 11.98 kB / 1.387 GB, free: 3.035 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001887/0.5003, allocations: 322.8 kB / 1.388 GB, free: 2.711 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000294/0.5006, allocations: 104 kB / 1.388 GB, free: 2.609 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003114/0.501, allocations: 173.8 kB / 1.388 GB, free: 2.418 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002961/0.5013, allocations: 156.1 kB / 1.388 GB, free: 2.254 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/0.5013, allocations: 4 kB / 1.388 GB, free: 2.25 MB / 0.8855 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008286/0.5021, allocations: 437.6 kB / 1.389 GB, free: 1.805 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.242e-05/0.5022, allocations: 75.39 kB / 1.389 GB, free: 1.719 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.5022, allocations: 0 / 1.389 GB, free: 1.719 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.5023, allocations: 4 kB / 1.389 GB, free: 1.715 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.5024, allocations: 23.92 kB / 1.389 GB, free: 1.691 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.5025, allocations: 4 kB / 1.389 GB, free: 1.688 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003607/0.5028, allocations: 40.06 kB / 1.389 GB, free: 1.648 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.721e-05/0.5029, allocations: 43.98 kB / 1.389 GB, free: 1.605 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.0002634/0.5032, allocations: 193 kB / 1.389 GB, free: 1.41 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.059e-05/0.5032, allocations: 27.66 kB / 1.389 GB, free: 1.383 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.755e-05/0.5033, allocations: 38.34 kB / 1.389 GB, free: 1.34 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.5033, allocations: 0 / 1.389 GB, free: 1.34 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.5033, allocations: 0 / 1.389 GB, free: 1.34 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.5033, allocations: 0 / 1.389 GB, free: 1.34 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002204/0.5055, allocations: 0.7519 MB / 1.39 GB, free: 0.5312 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.5056, allocations: 0 / 1.39 GB, free: 0.5312 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.648e-05/0.5056, allocations: 4 kB / 1.39 GB, free: 0.5273 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.5056, allocations: 4 kB / 1.39 GB, free: 0.5234 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.03e-05/0.5057, allocations: 19.97 kB / 1.39 GB, free: 0.5039 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.5057, allocations: 0 / 1.39 GB, free: 0.5039 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5057, allocations: 0 / 1.39 GB, free: 0.5039 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001668/0.5074, allocations: 482.9 kB / 1.39 GB, free: 16 kB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002737/0.5076, allocations: 188.6 kB / 1.39 GB, free: 15.81 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.04e-05/0.5077, allocations: 12 kB / 1.39 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004226/0.5081, allocations: 39.97 kB / 1.39 GB, free: 15.76 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.579e-05/0.5082, allocations: 7.984 kB / 1.39 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.899e-05/0.5083, allocations: 39.98 kB / 1.39 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002301/0.5085, allocations: 231 kB / 1.391 GB, free: 15.49 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5085, allocations: 0 / 1.391 GB, free: 15.49 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003938/0.5089, allocations: 64.12 kB / 1.391 GB, free: 15.43 MB / 0.9011 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.002094/0.511, allocations: 1.043 MB / 1.392 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001319/0.5124, allocations: 432.3 kB / 1.392 GB, free: 13.91 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5124, allocations: 0 / 1.392 GB, free: 13.91 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0007616/0.5131, allocations: 132.3 kB / 1.392 GB, free: 13.79 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.5134, allocations: 32.56 kB / 1.392 GB, free: 13.75 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/0.5156, allocations: 1.71 MB / 1.394 GB, free: 11.97 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.5159, allocations: 0.7594 MB / 1.395 GB, free: 11.18 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 8.516e-05/0.516, allocations: 21.41 kB / 1.395 GB, free: 11.16 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.474e-05/0.5161, allocations: 27.42 kB / 1.395 GB, free: 11.14 MB / 0.9011 GB Notification: Performance of SimCode: time 4.41e-07/0.5161, allocations: 0 / 1.395 GB, free: 11.14 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02006/0.5362, allocations: 5.518 MB / 1.4 GB, free: 5.832 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002065/0.5364, allocations: 212.6 kB / 1.4 GB, free: 5.594 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.606/2.143, allocations: 0 / 1.4 GB, free: 5.594 MB / 0.9011 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