Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonths",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.0009624/0.0009624, 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.0009309/0.000931, 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.494/1.494, allocations: 223.2 MB / 240 MB, free: 5.398 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.474/2.474, allocations: 390.4 MB / 0.6655 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003536, allocations: 8 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8813/0.8817, allocations: 142.3 MB / 0.9538 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001435/0.8832, allocations: 1.174 MB / 0.955 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008025/0.884, allocations: 422 kB / 0.9554 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.98e-05/0.8841, allocations: 1.188 kB / 0.9554 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.659e-05/0.8842, allocations: 7.922 kB / 0.9554 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.8843, allocations: 19.92 kB / 0.9554 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006402/0.8849, allocations: 220.8 kB / 0.9556 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002918/0.8852, allocations: 248.1 kB / 0.9559 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.223e-05/0.8853, allocations: 8.828 kB / 0.9559 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003794/0.8857, allocations: 224.9 kB / 0.9561 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002768/0.8859, allocations: 141.5 kB / 0.9562 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.265e-05/0.886, allocations: 10.03 kB / 0.9562 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.874e-05/0.8861, allocations: 10.06 kB / 0.9562 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.8862, allocations: 80.11 kB / 0.9563 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.8863, allocations: 74.36 kB / 0.9564 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.8865, allocations: 211 kB / 0.9566 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.8865, allocations: 0 / 0.9566 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8865, allocations: 0 / 0.9566 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.8866, allocations: 0 / 0.9566 GB, free: 6.094 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.0008643/0.8874, allocations: 0.6602 MB / 0.9572 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.8875, allocations: 9.344 kB / 0.9572 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.851e-05/0.8875, allocations: 33.25 kB / 0.9573 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.772e-05/0.8876, allocations: 35.47 kB / 0.9573 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.8879, allocations: 254.3 kB / 0.9576 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.11e-05/0.888, allocations: 14.89 kB / 0.9576 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.707e-05/0.888, allocations: 15.31 kB / 0.9576 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008692/0.8889, allocations: 216.2 kB / 0.9578 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.8889, allocations: 0 / 0.9578 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/0.889, allocations: 9.344 kB / 0.9578 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.889, allocations: 1.562 kB / 0.9578 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000661/0.8896, allocations: 105.5 kB / 0.9579 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003056/0.89, allocations: 321.5 kB / 0.9582 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009209/0.8909, allocations: 190.2 kB / 0.9584 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006702/0.8916, allocations: 116.7 kB / 0.9585 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.8916, allocations: 6.625 kB / 0.9585 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008191/0.8924, allocations: 227.3 kB / 0.9587 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.803e-06/0.8924, allocations: 0 / 0.9587 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002261/0.8947, allocations: 481.6 kB / 0.9592 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.8948, allocations: 60.89 kB / 0.9592 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002505/0.895, allocations: 289.8 kB / 0.9595 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.027e-05/0.8951, allocations: 35.2 kB / 0.9596 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.119e-05/0.8951, allocations: 94.62 kB / 0.9596 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.863e-05/0.8952, allocations: 40.97 kB / 0.9597 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.8952, allocations: 11.91 kB / 0.9597 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.01e-05/0.8953, allocations: 321.9 kB / 0.96 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.8955, allocations: 88.23 kB / 0.9601 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.8957, allocations: 134.7 kB / 0.9602 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002169/0.8959, allocations: 148.2 kB / 0.9604 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.8959, allocations: 0.9062 kB / 0.9604 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006413/0.8965, allocations: 393.7 kB / 0.9607 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.301e-05/0.8966, allocations: 70.64 kB / 0.9608 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.8966, allocations: 1.625 kB / 0.9608 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.8966, allocations: 3.531 kB / 0.9608 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.8968, allocations: 26.78 kB / 0.9608 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.679e-06/0.8968, allocations: 6.562 kB / 0.9608 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004487/0.8973, allocations: 75.47 kB / 0.9609 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.944e-05/0.8974, allocations: 39.05 kB / 0.9609 GB, free: 2.789 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.0001592/0.8975, allocations: 169.8 kB / 0.9611 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.584e-05/0.8976, allocations: 31.5 kB / 0.9611 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.882e-05/0.8976, allocations: 28.64 kB / 0.9612 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.8977, allocations: 1.094 kB / 0.9612 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.8977, allocations: 1.094 kB / 0.9612 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.8977, allocations: 3.984 kB / 0.9612 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001917/0.8996, allocations: 0.7161 MB / 0.9619 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.8996, allocations: 0 / 0.9619 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.668e-05/0.8996, allocations: 7.938 kB / 0.9619 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.8997, allocations: 1.188 kB / 0.9619 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.584e-05/0.8997, allocations: 16.31 kB / 0.9619 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.8997, allocations: 1.312 kB / 0.9619 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.8997, allocations: 0 / 0.9619 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00156/0.9013, allocations: 472.9 kB / 0.9623 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001818/0.9015, allocations: 157.1 kB / 0.9625 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.902e-05/0.9016, allocations: 13.58 kB / 0.9625 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004217/0.902, allocations: 41.47 kB / 0.9625 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.902, allocations: 7.984 kB / 0.9626 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-05/0.9021, allocations: 37.95 kB / 0.9626 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001937/0.9023, allocations: 216.6 kB / 0.9628 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9023, allocations: 0 / 0.9628 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003385/0.9026, allocations: 55.25 kB / 0.9628 GB, free: 1.48 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.001674/0.9043, allocations: 1.014 MB / 0.9638 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001078/0.9054, allocations: 387 kB / 0.9642 GB, free: 456 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.9054, allocations: 384 / 0.9642 GB, free: 456 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006845/0.9061, allocations: 130.4 kB / 0.9643 GB, free: 408 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.9065, allocations: 32.91 kB / 0.9644 GB, free: 384 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002727/0.9092, allocations: 1.185 MB / 0.9655 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.9096, allocations: 0.7428 MB / 0.9662 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.609e-05/0.9097, allocations: 16.08 kB / 0.9663 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.658e-05/0.9098, allocations: 22.95 kB / 0.9663 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of SimCode: time 9.41e-07/0.9098, allocations: 0 / 0.9663 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01784/0.9276, allocations: 4.525 MB / 0.9707 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001816/0.9279, allocations: 202.8 kB / 0.9709 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.834/2.762, allocations: 6.25 kB / 0.9709 GB, free: 12.31 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat does not exist to compare? outputFormat=mat