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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 87.11 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.00182/0.00182, 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.421/1.421, allocations: 223.3 MB / 240 MB, free: 5.383 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.574/2.574, allocations: 390.4 MB / 0.6655 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004041/0.0004044, allocations: 12 kB / 0.8149 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7847/0.7851, allocations: 142.3 MB / 0.9539 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.001782/0.7869, allocations: 1.362 MB / 0.9552 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.788, allocations: 470.3 kB / 0.9557 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.7882, allocations: 0 / 0.9557 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001089/0.7883, allocations: 7.938 kB / 0.9557 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000153/0.7885, allocations: 28.06 kB / 0.9557 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000841/0.7893, allocations: 211.8 kB / 0.9559 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004372/0.7898, allocations: 320 kB / 0.9562 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.7899, allocations: 29.03 kB / 0.9562 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004962/0.7904, allocations: 236.8 kB / 0.9565 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003201/0.7907, allocations: 144 kB / 0.9566 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.611e-05/0.7908, allocations: 10.56 kB / 0.9566 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.155e-05/0.7909, allocations: 9.812 kB / 0.9566 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.791, allocations: 80.38 kB / 0.9567 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.888e-05/0.7911, allocations: 79.38 kB / 0.9568 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000337/0.7915, allocations: 332.2 kB / 0.9571 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.7915, allocations: 0 / 0.9571 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.863e-06/0.7915, allocations: 0 / 0.9571 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.707e-05/0.7915, allocations: 1.719 kB / 0.9571 GB, free: 5.785 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001065/0.7926, allocations: 0.6847 MB / 0.9578 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.7926, allocations: 9.281 kB / 0.9578 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.327e-05/0.7927, allocations: 42.52 kB / 0.9578 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/0.7928, allocations: 43.25 kB / 0.9578 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003695/0.7932, allocations: 269.7 kB / 0.9581 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.504e-05/0.7933, allocations: 18.61 kB / 0.9581 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.868e-05/0.7934, allocations: 24.23 kB / 0.9581 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009096/0.7943, allocations: 236.6 kB / 0.9584 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.7943, allocations: 0 / 0.9584 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.597e-05/0.7943, allocations: 4.969 kB / 0.9584 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.7944, allocations: 2.594 kB / 0.9584 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006924/0.7951, allocations: 123.9 kB / 0.9585 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.7961, allocations: 0.5726 MB / 0.9591 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009134/0.797, allocations: 195.7 kB / 0.9592 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006202/0.7977, allocations: 124.4 kB / 0.9594 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.7977, allocations: 1.375 kB / 0.9594 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007975/0.7985, allocations: 230.1 kB / 0.9596 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.214e-06/0.7985, allocations: 1.375 kB / 0.9596 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002193/0.8007, allocations: 495.5 kB / 0.9601 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.8008, allocations: 60.56 kB / 0.9601 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003617/0.8011, allocations: 312.4 kB / 0.9604 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.969e-05/0.8012, allocations: 40.56 kB / 0.9605 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.433e-05/0.8013, allocations: 99.16 kB / 0.9605 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.665e-05/0.8013, allocations: 37.55 kB / 0.9606 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/0.8013, allocations: 7.938 kB / 0.9606 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.135e-05/0.8014, allocations: 321.9 kB / 0.9609 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.8016, allocations: 104.1 kB / 0.961 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.8018, allocations: 147.2 kB / 0.9611 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002273/0.8021, allocations: 167.6 kB / 0.9613 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.8021, allocations: 0.9688 kB / 0.9613 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007233/0.8028, allocations: 412.3 kB / 0.9617 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.897e-05/0.8029, allocations: 80 kB / 0.9618 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.8029, allocations: 2.031 kB / 0.9618 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.8029, allocations: 6.953 kB / 0.9618 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.8031, allocations: 26.58 kB / 0.9618 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.8031, allocations: 6.359 kB / 0.9618 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004678/0.8036, allocations: 68.36 kB / 0.9619 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-05/0.8037, allocations: 38.3 kB / 0.9619 GB, free: 2.137 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.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 () * 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.0001979/0.8039, allocations: 195.2 kB / 0.9621 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.184e-05/0.804, allocations: 27.78 kB / 0.9621 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.622e-05/0.804, allocations: 33.11 kB / 0.9622 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.804, allocations: 5.516 kB / 0.9622 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.804, allocations: 1.781 kB / 0.9622 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.804, allocations: 0 / 0.9622 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001872/0.8059, allocations: 0.7512 MB / 0.9629 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.8059, allocations: 4 kB / 0.9629 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.645e-05/0.806, allocations: 7.734 kB / 0.9629 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.806, allocations: 4.984 kB / 0.9629 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.692e-05/0.806, allocations: 16.33 kB / 0.9629 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.806, allocations: 3.312 kB / 0.9629 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.8061, allocations: 3.938 kB / 0.9629 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.8075, allocations: 479.8 kB / 0.9634 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001937/0.8077, allocations: 188.1 kB / 0.9636 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.767e-05/0.8078, allocations: 19.48 kB / 0.9636 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004097/0.8082, allocations: 43.39 kB / 0.9636 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.8083, allocations: 7.734 kB / 0.9636 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.261e-05/0.8083, allocations: 38.05 kB / 0.9637 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002299/0.8086, allocations: 231.8 kB / 0.9639 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8086, allocations: 0 / 0.9639 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000369/0.8089, allocations: 56.14 kB / 0.9639 GB, free: 0.7266 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.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) * 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.00181/0.8108, allocations: 1.031 MB / 0.965 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001162/0.8119, allocations: 403.6 kB / 0.9653 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.8119, allocations: 4.375 kB / 0.9653 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006705/0.8126, allocations: 131.6 kB / 0.9655 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.813, allocations: 37.53 kB / 0.9655 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002862/0.8159, allocations: 1.327 MB / 0.9668 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/0.8163, allocations: 0.7557 MB / 0.9675 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.847e-05/0.8164, allocations: 14.34 kB / 0.9676 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.901e-05/0.8165, allocations: 34.17 kB / 0.9676 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of SimCode: time 3.51e-07/0.8165, allocations: 0 / 0.9676 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0182/0.8347, allocations: 5.077 MB / 0.9725 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001899/0.8349, allocations: 218.4 kB / 0.9727 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.738/2.573, allocations: 0 / 0.9727 GB, free: 11.22 MB / 0.7325 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