Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.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.CalendarTimeMonths,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.326/2.326, allocations: 387.4 MB / 394.8 MB, free: 13.37 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.00113/0.00113, allocations: 180.8 kB / 487.4 MB, free: 5.047 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.579/1.579, allocations: 221.5 MB / 0.7824 GB, free: 1.012 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.001137/0.001137, allocations: 87.91 kB / 0.9219 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.727e-05/2.729e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2584, allocations: 142.4 MB / 1.206 GB, free: 43.83 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8972/1.156, allocations: 151.4 MB / 1.354 GB, free: 18.14 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/1.156, allocations: 70.66 kB / 1.354 GB, free: 18.14 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01608/1.172, allocations: 5.306 MB / 1.359 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.355e-06/1.172, allocations: 0 / 1.359 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.094e-05/1.172, allocations: 3.875 kB / 1.359 GB, free: 33.54 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.0008202/1.173, allocations: 0.6481 MB / 1.36 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/1.173, allocations: 12.06 kB / 1.36 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/1.173, allocations: 37.78 kB / 1.36 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003752/1.174, allocations: 278.1 kB / 1.36 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.536e-05/1.174, allocations: 8.797 kB / 1.36 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.599e-05/1.174, allocations: 20.42 kB / 1.36 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001339/1.174, allocations: 57.28 kB / 1.36 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002687/1.174, allocations: 168.2 kB / 1.36 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/1.174, allocations: 4 kB / 1.36 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.804e-05/1.174, allocations: 3.906 kB / 1.36 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/1.174, allocations: 0 / 1.36 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/1.175, allocations: 0.5608 MB / 1.361 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/1.175, allocations: 111.6 kB / 1.361 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.617e-05/1.175, allocations: 65.69 kB / 1.361 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/1.176, allocations: 3.938 kB / 1.361 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002469/1.176, allocations: 166.6 kB / 1.361 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/1.176, allocations: 0 / 1.361 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0004412/1.176, allocations: 255.4 kB / 1.362 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/1.176, allocations: 60.38 kB / 1.362 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002542/1.177, allocations: 274.2 kB / 1.362 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.086e-05/1.177, allocations: 29.55 kB / 1.362 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.871e-05/1.177, allocations: 102.4 kB / 1.362 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/1.177, allocations: 29.91 kB / 1.362 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.198e-05/1.177, allocations: 3.969 kB / 1.362 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001218/1.177, allocations: 329.8 kB / 1.362 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/1.177, allocations: 100 kB / 1.362 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/1.177, allocations: 142 kB / 1.363 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/1.177, allocations: 80.94 kB / 1.363 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/1.177, allocations: 3.812 kB / 1.363 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004979/1.178, allocations: 317.8 kB / 1.363 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.648e-05/1.178, allocations: 77.5 kB / 1.363 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/1.178, allocations: 7.891 kB / 1.363 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/1.178, allocations: 0 / 1.363 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/1.178, allocations: 29.23 kB / 1.363 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/1.178, allocations: 5.016 kB / 1.363 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003195/1.179, allocations: 41.62 kB / 1.363 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.499e-05/1.179, allocations: 40.75 kB / 1.363 GB, free: 31.43 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.0001198/1.179, allocations: 130.6 kB / 1.363 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003087/1.179, allocations: 237.4 kB / 1.363 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.533e-05/1.179, allocations: 35.08 kB / 1.364 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.887e-05/1.179, allocations: 34.98 kB / 1.364 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/1.179, allocations: 3.969 kB / 1.364 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/1.179, allocations: 3.938 kB / 1.364 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/1.179, allocations: 0 / 1.364 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006329/1.18, allocations: 0.5968 MB / 1.364 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/1.18, allocations: 2.906 kB / 1.364 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.608e-05/1.18, allocations: 7.594 kB / 1.364 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/1.18, allocations: 3.906 kB / 1.364 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.823e-05/1.18, allocations: 14.02 kB / 1.364 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/1.18, allocations: 4 kB / 1.364 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.18, allocations: 0 / 1.364 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003368/1.18, allocations: 349.8 kB / 1.364 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001622/1.18, allocations: 190 kB / 1.365 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.007e-05/1.181, allocations: 21.81 kB / 1.365 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004181/1.181, allocations: 35.61 kB / 1.365 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.955e-05/1.181, allocations: 6.609 kB / 1.365 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.513e-05/1.181, allocations: 46 kB / 1.365 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001662/1.181, allocations: 214.6 kB / 1.365 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.181, allocations: 0 / 1.365 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003548/1.182, allocations: 53.08 kB / 1.365 GB, free: 30.6 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.0006897/1.182, allocations: 0.9209 MB / 1.366 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003887/1.183, allocations: 345 kB / 1.366 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.183, allocations: 0 / 1.366 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.734e-05/1.183, allocations: 71.56 kB / 1.366 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/1.183, allocations: 30.83 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.0007867/1.184, allocations: 360.4 kB / 1.367 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/1.184, allocations: 0.7581 MB / 1.367 GB, free: 28.9 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.616e-05/1.184, allocations: 19.67 kB / 1.367 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.683e-05/1.184, allocations: 32.86 kB / 1.367 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.184, allocations: 0 / 1.367 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02532/1.21, allocations: 5.036 MB / 1.372 GB, free: 28.37 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001849/1.21, allocations: 165.3 kB / 1.373 GB, free: 28.18 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.702/2.912, allocations: 0 / 1.373 GB, free: 28.18 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths_res.mat does not exist to compare? outputFormat=mat