Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001165, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.517/2.517, allocations: 390.4 MB / 0.6655 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003968/0.0003969, allocations: 8 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7522/0.7527, allocations: 142.3 MB / 0.9538 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001389/0.7541, allocations: 1.186 MB / 0.955 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000826/0.7549, allocations: 408.9 kB / 0.9554 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.474e-05/0.755, allocations: 3.938 kB / 0.9554 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.472e-05/0.7551, allocations: 1.344 kB / 0.9554 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.545e-05/0.7552, allocations: 23.44 kB / 0.9554 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000585/0.7558, allocations: 218 kB / 0.9556 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002624/0.7561, allocations: 259.1 kB / 0.9559 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.225e-05/0.7561, allocations: 8.625 kB / 0.9559 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003755/0.7565, allocations: 225.5 kB / 0.9561 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002208/0.7567, allocations: 137.3 kB / 0.9562 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.195e-05/0.7568, allocations: 10.84 kB / 0.9562 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.949e-05/0.7569, allocations: 10.19 kB / 0.9562 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.757, allocations: 79.56 kB / 0.9563 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.64e-05/0.7571, allocations: 66.08 kB / 0.9564 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.7573, allocations: 214.9 kB / 0.9566 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.7573, allocations: 0 / 0.9566 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.103e-06/0.7573, allocations: 0 / 0.9566 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.7573, allocations: 0 / 0.9566 GB, free: 6.16 MB / 0.7169 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.0008145/0.7581, allocations: 0.6652 MB / 0.9572 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.7581, allocations: 8.562 kB / 0.9572 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.21e-05/0.7582, allocations: 45.52 kB / 0.9573 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.027e-05/0.7583, allocations: 29.84 kB / 0.9573 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.7585, allocations: 258.3 kB / 0.9576 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.132e-05/0.7586, allocations: 12.31 kB / 0.9576 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.504e-05/0.7586, allocations: 23.39 kB / 0.9576 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008521/0.7595, allocations: 204.3 kB / 0.9578 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.7595, allocations: 4 kB / 0.9578 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.7596, allocations: 5.328 kB / 0.9578 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.7596, allocations: 1.375 kB / 0.9578 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006875/0.7603, allocations: 105 kB / 0.9579 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003355/0.7606, allocations: 317.4 kB / 0.9582 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008987/0.7615, allocations: 190 kB / 0.9584 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000629/0.7622, allocations: 114.5 kB / 0.9585 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.7622, allocations: 9.25 kB / 0.9585 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007725/0.763, allocations: 227.6 kB / 0.9587 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.914e-06/0.763, allocations: 0 / 0.9587 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.00218/0.7652, allocations: 484.1 kB / 0.9592 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.7652, allocations: 59.95 kB / 0.9592 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002772/0.7655, allocations: 293 kB / 0.9595 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.18e-05/0.7656, allocations: 39.98 kB / 0.9596 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.419e-05/0.7656, allocations: 86.42 kB / 0.9596 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.028e-05/0.7657, allocations: 41.73 kB / 0.9597 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-05/0.7657, allocations: 8.375 kB / 0.9597 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.474e-05/0.7658, allocations: 321.1 kB / 0.96 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/0.766, allocations: 91.94 kB / 0.9601 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002006/0.7662, allocations: 130.2 kB / 0.9602 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002034/0.7664, allocations: 149.5 kB / 0.9604 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.7664, allocations: 5.031 kB / 0.9604 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006074/0.767, allocations: 388.8 kB / 0.9607 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.716e-05/0.7671, allocations: 80.44 kB / 0.9608 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.7671, allocations: 2.125 kB / 0.9608 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.7671, allocations: 3.281 kB / 0.9608 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.7673, allocations: 25.53 kB / 0.9608 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.7673, allocations: 2.812 kB / 0.9608 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004326/0.7677, allocations: 68.86 kB / 0.9609 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.836e-05/0.7678, allocations: 38.48 kB / 0.9609 GB, free: 2.855 MB / 0.7169 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 () * 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.0001867/0.768, allocations: 174 kB / 0.9611 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.541e-05/0.7681, allocations: 31.31 kB / 0.9611 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.061e-05/0.7681, allocations: 31.95 kB / 0.9612 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/0.7681, allocations: 1.969 kB / 0.9612 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.7681, allocations: 1.031 kB / 0.9612 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.7682, allocations: 0 / 0.9612 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001939/0.7701, allocations: 0.7184 MB / 0.9619 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.7701, allocations: 4 kB / 0.9619 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.541e-05/0.7702, allocations: 3.906 kB / 0.9619 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.7702, allocations: 1.656 kB / 0.9619 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.7e-05/0.7702, allocations: 16.06 kB / 0.9619 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.7702, allocations: 1.438 kB / 0.9619 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.7702, allocations: 0 / 0.9619 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/0.7718, allocations: 470.5 kB / 0.9623 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001871/0.772, allocations: 165.9 kB / 0.9625 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.847e-05/0.772, allocations: 8.969 kB / 0.9625 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004127/0.7724, allocations: 40.8 kB / 0.9626 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.7725, allocations: 3.938 kB / 0.9626 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.026e-05/0.7725, allocations: 45.62 kB / 0.9626 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001553/0.7727, allocations: 212.7 kB / 0.9628 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2e-07/0.7727, allocations: 4 kB / 0.9628 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003333/0.7731, allocations: 49.64 kB / 0.9629 GB, free: 1.539 MB / 0.7169 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) * 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.001718/0.7748, allocations: 1.013 MB / 0.9638 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001128/0.7759, allocations: 388.7 kB / 0.9642 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.7759, allocations: 1.406 kB / 0.9642 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006806/0.7766, allocations: 134.3 kB / 0.9643 GB, free: 464 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.777, allocations: 23.92 kB / 0.9644 GB, free: 448 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002528/0.7795, allocations: 1.197 MB / 0.9655 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.7798, allocations: 0.7383 MB / 0.9663 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.504e-05/0.7799, allocations: 16.42 kB / 0.9663 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.789e-05/0.78, allocations: 22.39 kB / 0.9663 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of SimCode: time 6.72e-07/0.78, allocations: 0 / 0.9663 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01595/0.796, allocations: 4.527 MB / 0.9707 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001735/0.7962, allocations: 202 kB / 0.9709 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.824/2.62, allocations: 0.75 kB / 0.9709 GB, free: 12.38 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat does not exist to compare? outputFormat=mat