Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.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.CalendarTimeMonths,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths",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.259/2.259, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001103/0.001102, allocations: 183.8 kB / 0.4901 GB, free: 2.234 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.449/1.449, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.001091/0.001091, allocations: 92.27 kB / 0.9396 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.0003559, allocations: 11.25 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3431, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2552/0.5984, allocations: 153 MB / 1.379 GB, free: 472 kB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003068/0.5987, allocations: 71.95 kB / 1.379 GB, free: 400 kB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02305/0.6218, allocations: 5.344 MB / 1.384 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.445e-06/0.6219, allocations: 0 / 1.384 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.882e-05/0.6219, allocations: 4 kB / 1.384 GB, free: 11.04 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.001316/0.6232, allocations: 0.6959 MB / 1.385 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.734e-05/0.6233, allocations: 12.03 kB / 1.385 GB, free: 10.24 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001252/0.6234, allocations: 38.55 kB / 1.385 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/0.6236, allocations: 35.67 kB / 1.385 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005854/0.6242, allocations: 271.2 kB / 1.385 GB, free: 9.852 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.835e-05/0.6243, allocations: 15.98 kB / 1.385 GB, free: 9.836 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.901e-05/0.6244, allocations: 20 kB / 1.385 GB, free: 9.816 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.6258, allocations: 242.2 kB / 1.385 GB, free: 9.574 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.6258, allocations: 0 / 1.385 GB, free: 9.574 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.073e-05/0.6259, allocations: 4 kB / 1.385 GB, free: 9.57 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.6259, allocations: 0 / 1.385 GB, free: 9.57 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.627, allocations: 123.9 kB / 1.385 GB, free: 9.449 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001812/0.6288, allocations: 0.6017 MB / 1.386 GB, free: 8.797 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/0.6304, allocations: 198.4 kB / 1.386 GB, free: 8.594 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.306e-05/0.6304, allocations: 256 / 1.386 GB, free: 8.594 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001317/0.6318, allocations: 227.1 kB / 1.386 GB, free: 8.359 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=16): time 2.164e-06/0.6318, allocations: 0 / 1.386 GB, free: 8.359 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16): time 0.003843/0.6356, allocations: 493 kB / 1.387 GB, free: 7.871 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.087e-05/0.6357, allocations: 67.52 kB / 1.387 GB, free: 7.793 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004867/0.6362, allocations: 283.6 kB / 1.387 GB, free: 7.512 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.959e-05/0.6363, allocations: 33.7 kB / 1.387 GB, free: 7.473 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.6365, allocations: 109 kB / 1.387 GB, free: 7.363 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.542e-05/0.6365, allocations: 35.53 kB / 1.387 GB, free: 7.328 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.581e-05/0.6366, allocations: 12 kB / 1.387 GB, free: 7.316 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.6368, allocations: 326.8 kB / 1.388 GB, free: 6.988 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000438/0.6372, allocations: 107.9 kB / 1.388 GB, free: 6.883 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004737/0.6377, allocations: 158.4 kB / 1.388 GB, free: 6.707 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004398/0.6382, allocations: 172 kB / 1.388 GB, free: 6.527 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.6382, allocations: 0 / 1.388 GB, free: 6.527 MB / 0.8855 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001284/0.6395, allocations: 431.7 kB / 1.388 GB, free: 6.09 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001167/0.6396, allocations: 75.39 kB / 1.389 GB, free: 6.004 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.6396, allocations: 0 / 1.389 GB, free: 6.004 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.6397, allocations: 4.188 kB / 1.389 GB, free: 6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/0.6399, allocations: 35.91 kB / 1.389 GB, free: 5.965 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.6399, allocations: 0 / 1.389 GB, free: 5.965 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005233/0.6405, allocations: 43.88 kB / 1.389 GB, free: 5.922 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.6406, allocations: 43.92 kB / 1.389 GB, free: 5.879 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.0003438/0.641, allocations: 190.2 kB / 1.389 GB, free: 5.688 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.658e-05/0.641, allocations: 27.62 kB / 1.389 GB, free: 5.66 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.438e-05/0.6411, allocations: 30.36 kB / 1.389 GB, free: 5.625 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.6412, allocations: 0 / 1.389 GB, free: 5.625 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.6412, allocations: 4 kB / 1.389 GB, free: 5.621 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.6412, allocations: 3.984 kB / 1.389 GB, free: 5.617 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003272/0.6445, allocations: 0.7519 MB / 1.39 GB, free: 4.809 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.6445, allocations: 4 kB / 1.39 GB, free: 4.805 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.94e-05/0.6446, allocations: 11.98 kB / 1.39 GB, free: 4.793 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.6446, allocations: 0 / 1.39 GB, free: 4.793 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-05/0.6446, allocations: 19.97 kB / 1.39 GB, free: 4.773 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.6447, allocations: 0 / 1.39 GB, free: 4.773 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.6447, allocations: 3.984 kB / 1.39 GB, free: 4.77 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002591/0.6473, allocations: 478.9 kB / 1.39 GB, free: 4.285 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004749/0.6478, allocations: 188.6 kB / 1.39 GB, free: 4.082 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.6479, allocations: 20 kB / 1.39 GB, free: 4.062 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006394/0.6486, allocations: 27.97 kB / 1.39 GB, free: 4.035 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/0.6486, allocations: 11.98 kB / 1.39 GB, free: 4.023 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-05/0.6487, allocations: 43.97 kB / 1.39 GB, free: 3.98 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003928/0.6491, allocations: 223 kB / 1.391 GB, free: 3.762 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.364e-06/0.6491, allocations: 4 kB / 1.391 GB, free: 3.758 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007196/0.6499, allocations: 59.94 kB / 1.391 GB, free: 3.699 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.003132/0.653, allocations: 1.039 MB / 1.392 GB, free: 2.637 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002003/0.655, allocations: 418.6 kB / 1.392 GB, free: 2.203 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.6551, allocations: 4.312 kB / 1.392 GB, free: 2.199 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.6562, allocations: 142.2 kB / 1.392 GB, free: 2.062 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.6566, allocations: 29.84 kB / 1.392 GB, free: 2.035 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002795/0.6594, allocations: 1.72 MB / 1.394 GB, free: 244 kB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004357/0.6598, allocations: 0.7538 MB / 1.395 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 8.479e-05/0.6599, allocations: 13.42 kB / 1.395 GB, free: 15.45 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.291e-05/0.66, allocations: 35.42 kB / 1.395 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of SimCode: time 4.879e-06/0.66, allocations: 4 kB / 1.395 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01931/0.6794, allocations: 5.496 MB / 1.4 GB, free: 10.09 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002297/0.6796, allocations: 212 kB / 1.4 GB, free: 9.852 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.677/2.357, allocations: 7.938 kB / 1.4 GB, free: 9.844 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths_res.mat does not exist to compare? outputFormat=mat