Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus",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.486/2.486, allocations: 387.1 MB / 399.7 MB, free: 9.527 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.001096/0.001096, allocations: 172.2 kB / 492.3 MB, free: 0.6484 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.683/1.683, allocations: 221.3 MB / 0.7872 GB, free: 12.89 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.0008514/0.0008516, allocations: 91.94 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.768e-05/3.778e-05, allocations: 4 kB / 1.074 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2691, allocations: 142.4 MB / 1.213 GB, free: 38.36 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8882/1.157, allocations: 152.1 MB / 1.361 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002133/1.158, allocations: 70.48 kB / 1.361 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01539/1.173, allocations: 5.354 MB / 1.366 GB, free: 34.45 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.124e-06/1.173, allocations: 1.172 kB / 1.366 GB, free: 34.45 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.573e-05/1.173, allocations: 7.812 kB / 1.366 GB, free: 34.45 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.0007166/1.174, allocations: 0.649 MB / 1.367 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/1.174, allocations: 11.5 kB / 1.367 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.306e-05/1.174, allocations: 44.16 kB / 1.367 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.997e-05/1.174, allocations: 34.81 kB / 1.367 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003175/1.174, allocations: 279.7 kB / 1.367 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.809e-05/1.174, allocations: 17.44 kB / 1.367 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.2e-05/1.174, allocations: 15.41 kB / 1.367 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002753/1.175, allocations: 170.3 kB / 1.368 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/1.175, allocations: 3.953 kB / 1.368 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.702e-05/1.175, allocations: 15 kB / 1.368 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/1.175, allocations: 0 / 1.368 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/1.175, allocations: 59.02 kB / 1.368 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/1.176, allocations: 0.5947 MB / 1.368 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/1.176, allocations: 115.6 kB / 1.368 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/1.176, allocations: 62.64 kB / 1.368 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/1.176, allocations: 8.328 kB / 1.368 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002339/1.177, allocations: 165.5 kB / 1.369 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/1.177, allocations: 0 / 1.369 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.00049/1.177, allocations: 261.8 kB / 1.369 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/1.177, allocations: 65.86 kB / 1.369 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/1.177, allocations: 283.2 kB / 1.369 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.26e-05/1.177, allocations: 39.31 kB / 1.369 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.853e-05/1.177, allocations: 96.61 kB / 1.369 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.97e-05/1.177, allocations: 38.7 kB / 1.369 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/1.178, allocations: 9.656 kB / 1.369 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.643e-05/1.178, allocations: 320.1 kB / 1.37 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/1.178, allocations: 110.2 kB / 1.37 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/1.178, allocations: 156.2 kB / 1.37 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/1.178, allocations: 164.7 kB / 1.37 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/1.178, allocations: 0 / 1.37 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005926/1.179, allocations: 420.4 kB / 1.37 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.767e-05/1.179, allocations: 83.45 kB / 1.371 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/1.179, allocations: 0 / 1.371 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/1.179, allocations: 3.844 kB / 1.371 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/1.179, allocations: 21.03 kB / 1.371 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/1.179, allocations: 7.906 kB / 1.371 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003219/1.179, allocations: 44.5 kB / 1.371 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.38e-05/1.18, allocations: 47.5 kB / 1.371 GB, free: 32.15 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.0001182/1.18, allocations: 136.1 kB / 1.371 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/1.18, allocations: 22.94 kB / 1.371 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.384e-05/1.18, allocations: 35.28 kB / 1.371 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/1.18, allocations: 11.59 kB / 1.371 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/1.18, allocations: 0 / 1.371 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/1.18, allocations: 0 / 1.371 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006894/1.18, allocations: 0.637 MB / 1.371 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/1.18, allocations: 0 / 1.371 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.482e-05/1.181, allocations: 7.75 kB / 1.371 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/1.181, allocations: 0 / 1.371 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.109e-05/1.181, allocations: 24.39 kB / 1.371 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/1.181, allocations: 4 kB / 1.371 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/1.181, allocations: 0 / 1.371 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004216/1.181, allocations: 354.3 kB / 1.372 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001711/1.181, allocations: 186.9 kB / 1.372 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.396e-05/1.181, allocations: 18.5 kB / 1.372 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004079/1.182, allocations: 35.41 kB / 1.372 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.371e-05/1.182, allocations: 12.95 kB / 1.372 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.446e-05/1.182, allocations: 40.19 kB / 1.372 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001833/1.182, allocations: 226.3 kB / 1.372 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.71e-07/1.182, allocations: 0 / 1.372 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003314/1.182, allocations: 59.67 kB / 1.372 GB, free: 31.35 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.00072/1.183, allocations: 0.9337 MB / 1.373 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004911/1.184, allocations: 359.9 kB / 1.374 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.184, allocations: 0 / 1.374 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001169/1.184, allocations: 74.64 kB / 1.374 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/1.184, allocations: 33.55 kB / 1.374 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000789/1.185, allocations: 370.8 kB / 1.374 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/1.185, allocations: 0.7582 MB / 1.375 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.999e-05/1.185, allocations: 16.05 kB / 1.375 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.552e-05/1.185, allocations: 34.38 kB / 1.375 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of SimCode: time 6.61e-07/1.185, allocations: 0 / 1.375 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01719/1.202, allocations: 5.527 MB / 1.38 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001931/1.203, allocations: 192.8 kB / 1.38 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.638/2.84, allocations: 0 / 1.38 GB, free: 28.82 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus_res.mat does not exist to compare? outputFormat=mat