Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.371/2.371, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.00126/0.00126, allocations: 183.5 kB / 0.4901 GB, free: 2.262 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.485/1.485, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.001049/0.001049, allocations: 92.33 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003517, allocations: 13.72 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2931, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1824/0.4755, allocations: 153 MB / 1.379 GB, free: 444 kB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/0.4758, allocations: 71.95 kB / 1.379 GB, free: 372 kB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01683/0.4927, allocations: 5.353 MB / 1.384 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.854e-06/0.4927, allocations: 3.938 kB / 1.384 GB, free: 11 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.157e-05/0.4928, allocations: 8 kB / 1.384 GB, free: 11 MB / 0.8855 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.001213/0.494, allocations: 0.692 MB / 1.385 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.4941, allocations: 8.031 kB / 1.385 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.294e-05/0.4942, allocations: 46.55 kB / 1.385 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000189/0.4944, allocations: 35.67 kB / 1.385 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004631/0.4948, allocations: 267.2 kB / 1.385 GB, free: 9.816 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.068e-05/0.4949, allocations: 19.92 kB / 1.385 GB, free: 9.797 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.567e-05/0.495, allocations: 24 kB / 1.385 GB, free: 9.773 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.496, allocations: 234.1 kB / 1.385 GB, free: 9.539 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.496, allocations: 0 / 1.385 GB, free: 9.539 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/0.4961, allocations: 0 / 1.385 GB, free: 9.539 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.4961, allocations: 8 kB / 1.385 GB, free: 9.531 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007727/0.4969, allocations: 119.9 kB / 1.385 GB, free: 9.414 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.4982, allocations: 0.6017 MB / 1.386 GB, free: 8.762 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.4993, allocations: 198.5 kB / 1.386 GB, free: 8.559 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.4993, allocations: 0 / 1.386 GB, free: 8.559 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009096/0.5002, allocations: 231.1 kB / 1.386 GB, free: 8.32 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=16): time 2.906e-06/0.5003, allocations: 0 / 1.386 GB, free: 8.32 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16): time 0.002484/0.5028, allocations: 489 kB / 1.387 GB, free: 7.836 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.013e-05/0.5028, allocations: 71.52 kB / 1.387 GB, free: 7.754 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003655/0.5032, allocations: 275.6 kB / 1.387 GB, free: 7.48 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.46e-05/0.5033, allocations: 41.7 kB / 1.387 GB, free: 7.434 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.5034, allocations: 109 kB / 1.387 GB, free: 7.324 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.045e-05/0.5035, allocations: 39.55 kB / 1.387 GB, free: 7.285 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.5035, allocations: 8 kB / 1.387 GB, free: 7.277 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.5037, allocations: 322.8 kB / 1.388 GB, free: 6.953 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002991/0.504, allocations: 103.9 kB / 1.388 GB, free: 6.852 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000307/0.5043, allocations: 161.9 kB / 1.388 GB, free: 6.672 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002941/0.5046, allocations: 173 kB / 1.388 GB, free: 6.492 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.5046, allocations: 4 kB / 1.388 GB, free: 6.488 MB / 0.8855 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008178/0.5054, allocations: 424.6 kB / 1.389 GB, free: 6.055 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.814e-05/0.5055, allocations: 83.58 kB / 1.389 GB, free: 5.961 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.5055, allocations: 0 / 1.389 GB, free: 5.961 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.5056, allocations: 4 kB / 1.389 GB, free: 5.957 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.5057, allocations: 23.91 kB / 1.389 GB, free: 5.934 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.5058, allocations: 4 kB / 1.389 GB, free: 5.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003634/0.5061, allocations: 39.89 kB / 1.389 GB, free: 5.891 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.042e-05/0.5062, allocations: 39.97 kB / 1.389 GB, free: 5.852 MB / 0.8855 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.0002859/0.5065, allocations: 197.1 kB / 1.389 GB, free: 5.652 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.793e-05/0.5066, allocations: 31.56 kB / 1.389 GB, free: 5.621 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.208e-05/0.5067, allocations: 30.36 kB / 1.389 GB, free: 5.586 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.5067, allocations: 0 / 1.389 GB, free: 5.586 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.5067, allocations: 0 / 1.389 GB, free: 5.586 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.5067, allocations: 3.984 kB / 1.389 GB, free: 5.582 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002204/0.5089, allocations: 0.7541 MB / 1.39 GB, free: 4.773 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.5089, allocations: 0 / 1.39 GB, free: 4.773 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.074e-05/0.509, allocations: 11.98 kB / 1.39 GB, free: 4.762 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.509, allocations: 4 kB / 1.39 GB, free: 4.758 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.926e-05/0.509, allocations: 11.98 kB / 1.39 GB, free: 4.746 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.509, allocations: 0 / 1.39 GB, free: 4.746 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.509, allocations: 3.984 kB / 1.39 GB, free: 4.742 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001795/0.5108, allocations: 482.9 kB / 1.39 GB, free: 4.254 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000273/0.5111, allocations: 192.6 kB / 1.39 GB, free: 4.047 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.131e-05/0.5112, allocations: 12 kB / 1.39 GB, free: 4.035 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004241/0.5116, allocations: 31.97 kB / 1.39 GB, free: 4.004 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.722e-05/0.5117, allocations: 7.984 kB / 1.39 GB, free: 3.996 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.377e-05/0.5118, allocations: 51.97 kB / 1.39 GB, free: 3.945 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002503/0.512, allocations: 227 kB / 1.391 GB, free: 3.723 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.7e-07/0.512, allocations: 0 / 1.391 GB, free: 3.723 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004141/0.5125, allocations: 55.94 kB / 1.391 GB, free: 3.668 MB / 0.8855 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.002167/0.5146, allocations: 1.043 MB / 1.392 GB, free: 2.602 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001313/0.516, allocations: 422.8 kB / 1.392 GB, free: 2.164 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.516, allocations: 7.875 kB / 1.392 GB, free: 2.156 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000734/0.5167, allocations: 131.8 kB / 1.392 GB, free: 2.027 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.517, allocations: 34.03 kB / 1.392 GB, free: 1.996 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002213/0.5193, allocations: 1.712 MB / 1.394 GB, free: 216 kB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.5196, allocations: 0.7594 MB / 1.395 GB, free: 15.43 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 8.385e-05/0.5197, allocations: 17.42 kB / 1.395 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.753e-05/0.5198, allocations: 31.42 kB / 1.395 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of SimCode: time 6.31e-07/0.5198, allocations: 4 kB / 1.395 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01901/0.5388, allocations: 5.503 MB / 1.4 GB, free: 10.08 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002058/0.5391, allocations: 218.4 kB / 1.4 GB, free: 9.84 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.635/2.174, allocations: 0 / 1.4 GB, free: 9.84 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus_res.mat does not exist to compare? outputFormat=mat