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.586/2.586, allocations: 387.1 MB / 399.7 MB, free: 9.539 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.001141/0.001141, allocations: 180.9 kB / 492.3 MB, free: 0.6523 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.581/1.581, allocations: 221.3 MB / 0.7871 GB, free: 12.99 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.0008823/0.0008823, allocations: 91.23 kB / 0.9267 GB, free: 14.07 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.099e-05/3.11e-05, allocations: 7.984 kB / 1.074 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.254, allocations: 142.3 MB / 1.213 GB, free: 38.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9042/1.158, allocations: 152.1 MB / 1.361 GB, free: 19.11 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/1.158, allocations: 74.42 kB / 1.361 GB, free: 19.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01531/1.174, allocations: 5.347 MB / 1.366 GB, free: 34.47 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.523e-06/1.174, allocations: 4 kB / 1.366 GB, free: 34.47 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.95e-05/1.174, allocations: 3.812 kB / 1.366 GB, free: 34.47 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.0008614/1.175, allocations: 0.6513 MB / 1.367 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/1.175, allocations: 7.656 kB / 1.367 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.807e-05/1.175, allocations: 47.11 kB / 1.367 GB, free: 33.83 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/1.175, allocations: 34.84 kB / 1.367 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004215/1.175, allocations: 271.3 kB / 1.367 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.561e-05/1.176, allocations: 18.3 kB / 1.367 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.596e-05/1.176, allocations: 22.5 kB / 1.367 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003184/1.176, allocations: 173 kB / 1.368 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/1.176, allocations: 3.953 kB / 1.368 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.111e-05/1.176, allocations: 10.67 kB / 1.368 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.361e-06/1.176, allocations: 0 / 1.368 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/1.176, allocations: 61.36 kB / 1.368 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/1.177, allocations: 0.596 MB / 1.368 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/1.177, allocations: 116.1 kB / 1.368 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/1.178, allocations: 63.33 kB / 1.368 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/1.178, allocations: 6.875 kB / 1.368 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002287/1.178, allocations: 169.4 kB / 1.369 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.733e-06/1.178, allocations: 0 / 1.369 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0005104/1.178, allocations: 266 kB / 1.369 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/1.178, allocations: 62.84 kB / 1.369 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002773/1.179, allocations: 284.1 kB / 1.369 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.597e-05/1.179, allocations: 40.06 kB / 1.369 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.46e-05/1.179, allocations: 98.12 kB / 1.369 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/1.179, allocations: 33.48 kB / 1.369 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/1.179, allocations: 10.72 kB / 1.369 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.24e-05/1.179, allocations: 325.4 kB / 1.37 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/1.179, allocations: 109 kB / 1.37 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/1.179, allocations: 150.3 kB / 1.37 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/1.18, allocations: 164.5 kB / 1.37 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/1.18, allocations: 0 / 1.37 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006924/1.18, allocations: 422.5 kB / 1.37 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.93e-05/1.18, allocations: 86.78 kB / 1.371 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/1.18, allocations: 4 kB / 1.371 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/1.18, allocations: 3.875 kB / 1.371 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/1.181, allocations: 28.66 kB / 1.371 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/1.181, allocations: 0 / 1.371 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000346/1.181, allocations: 45.66 kB / 1.371 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.716e-05/1.181, allocations: 45.31 kB / 1.371 GB, free: 32.16 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.0001177/1.181, allocations: 137 kB / 1.371 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.352e-05/1.181, allocations: 27.16 kB / 1.371 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.631e-05/1.181, allocations: 28.8 kB / 1.371 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/1.181, allocations: 3.875 kB / 1.371 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/1.181, allocations: 3.938 kB / 1.371 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/1.181, allocations: 1.781 kB / 1.371 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007341/1.182, allocations: 0.6396 MB / 1.371 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/1.182, allocations: 4 kB / 1.371 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.55e-05/1.182, allocations: 3.844 kB / 1.371 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/1.182, allocations: 0 / 1.371 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.143e-05/1.182, allocations: 24.34 kB / 1.371 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/1.182, allocations: 0 / 1.371 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/1.182, allocations: 0 / 1.371 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00041/1.183, allocations: 355.5 kB / 1.372 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001947/1.183, allocations: 186.6 kB / 1.372 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.995e-05/1.183, allocations: 20.08 kB / 1.372 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004144/1.183, allocations: 36.61 kB / 1.372 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/1.183, allocations: 6.875 kB / 1.372 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.177e-05/1.183, allocations: 47.47 kB / 1.372 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001922/1.184, allocations: 224.3 kB / 1.372 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.184, allocations: 0 / 1.372 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003958/1.184, allocations: 58.77 kB / 1.372 GB, free: 31.36 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.0007862/1.185, allocations: 0.9299 MB / 1.373 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005019/1.185, allocations: 358.4 kB / 1.374 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.185, allocations: 0 / 1.374 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001209/1.185, allocations: 72.84 kB / 1.374 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/1.186, allocations: 32.94 kB / 1.374 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008145/1.187, allocations: 376.6 kB / 1.374 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/1.187, allocations: 0.7555 MB / 1.375 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.303e-05/1.187, allocations: 11.94 kB / 1.375 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.517e-05/1.187, allocations: 33.34 kB / 1.375 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of SimCode: time 3.01e-07/1.187, allocations: 0 / 1.375 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01836/1.205, allocations: 5.536 MB / 1.38 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001491/1.206, allocations: 193.3 kB / 1.38 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.562/2.768, allocations: 0 / 1.38 GB, free: 28.83 MB / 0.8386 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