Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_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 1.977/1.977, allocations: 387.1 MB / 399.7 MB, free: 9.449 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.001022/0.001022, allocations: 176.9 kB / 492.3 MB, free: 0.6094 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.287/1.287, allocations: 221.3 MB / 0.7872 GB, free: 12.93 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.0009043/0.0009043, allocations: 95.83 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.763e-05/1.766e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1982, allocations: 142.3 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7008/0.8991, allocations: 151.9 MB / 1.361 GB, free: 18.98 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001994/0.8993, allocations: 70.72 kB / 1.361 GB, free: 18.98 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0126/0.912, allocations: 4.592 MB / 1.365 GB, free: 34.4 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.062e-06/0.912, allocations: 0 / 1.365 GB, free: 34.4 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.912, allocations: 3.875 kB / 1.365 GB, free: 34.4 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005339/0.9125, allocations: 0.6275 MB / 1.366 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.9126, allocations: 14.66 kB / 1.366 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.066e-05/0.9126, allocations: 38.44 kB / 1.366 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.45e-05/0.9127, allocations: 33.62 kB / 1.366 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.913, allocations: 257.5 kB / 1.366 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.375e-05/0.913, allocations: 18.16 kB / 1.366 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.896e-05/0.9131, allocations: 18.2 kB / 1.366 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.9133, allocations: 149.7 kB / 1.367 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.9133, allocations: 3.938 kB / 1.367 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/0.9134, allocations: 3.875 kB / 1.367 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.9134, allocations: 7.016 kB / 1.367 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.9135, allocations: 43.28 kB / 1.367 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002581/0.9137, allocations: 331 kB / 1.367 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.9139, allocations: 113.4 kB / 1.367 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.924e-05/0.914, allocations: 58.52 kB / 1.367 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.914, allocations: 7.672 kB / 1.367 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001797/0.9142, allocations: 155.9 kB / 1.367 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.323e-06/0.9142, allocations: 0 / 1.367 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0003965/0.9146, allocations: 253.7 kB / 1.367 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.406e-05/0.9147, allocations: 69.23 kB / 1.368 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.9148, allocations: 249.7 kB / 1.368 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.669e-05/0.9149, allocations: 39.02 kB / 1.368 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.384e-05/0.9149, allocations: 90.45 kB / 1.368 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/0.915, allocations: 39.02 kB / 1.368 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.691e-05/0.915, allocations: 9.391 kB / 1.368 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 4.463e-05/0.915, allocations: 328.3 kB / 1.368 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.9152, allocations: 83.12 kB / 1.368 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.9154, allocations: 139 kB / 1.368 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.9155, allocations: 145.6 kB / 1.369 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.9156, allocations: 4 kB / 1.369 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004987/0.9161, allocations: 398.4 kB / 1.369 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.464e-05/0.9161, allocations: 73.75 kB / 1.369 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.9161, allocations: 3.844 kB / 1.369 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.9161, allocations: 3.812 kB / 1.369 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.9163, allocations: 24.11 kB / 1.369 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.9163, allocations: 7.797 kB / 1.369 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002792/0.9166, allocations: 51.56 kB / 1.369 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.316e-05/0.9166, allocations: 36.95 kB / 1.369 GB, free: 32.2 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.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,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 8.621e-05/0.9167, allocations: 132.3 kB / 1.369 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.214e-05/0.9168, allocations: 26.92 kB / 1.369 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.064e-05/0.9168, allocations: 30.23 kB / 1.369 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.9168, allocations: 4 kB / 1.369 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.9168, allocations: 0 / 1.369 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.9168, allocations: 0 / 1.369 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006331/0.9175, allocations: 0.5994 MB / 1.37 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.9175, allocations: 0 / 1.37 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.178e-05/0.9175, allocations: 6.938 kB / 1.37 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.9175, allocations: 0 / 1.37 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.696e-05/0.9176, allocations: 18.09 kB / 1.37 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.9176, allocations: 0 / 1.37 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.9176, allocations: 7.938 kB / 1.37 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003254/0.9179, allocations: 340.3 kB / 1.37 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.9181, allocations: 168.9 kB / 1.37 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.319e-05/0.9181, allocations: 13.77 kB / 1.37 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003753/0.9185, allocations: 35.89 kB / 1.37 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.509e-05/0.9185, allocations: 14.36 kB / 1.371 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.976e-05/0.9186, allocations: 39.69 kB / 1.371 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001308/0.9187, allocations: 211.2 kB / 1.371 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9187, allocations: 0 / 1.371 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002641/0.919, allocations: 56.23 kB / 1.371 GB, free: 31.39 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,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.0005275/0.9195, allocations: 0.8982 MB / 1.372 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003986/0.9199, allocations: 335.4 kB / 1.372 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.92, allocations: 0 / 1.372 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.9201, allocations: 68.81 kB / 1.372 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.9203, allocations: 25.16 kB / 1.372 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000639/0.921, allocations: 347.1 kB / 1.372 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.9212, allocations: 0.7446 MB / 1.373 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.177e-05/0.9213, allocations: 14.97 kB / 1.373 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.514e-05/0.9213, allocations: 24.98 kB / 1.373 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of SimCode: time 3.6e-07/0.9213, allocations: 0 / 1.373 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01431/0.9356, allocations: 4.921 MB / 1.378 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001233/0.9358, allocations: 154.1 kB / 1.378 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.458/2.394, allocations: 7.938 kB / 1.378 GB, free: 28.94 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat does not exist to compare? outputFormat=mat