Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.761/1.761, allocations: 289.7 MB / 302.2 MB, free: 2.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001205/0.001205, allocations: 180.4 kB / 371.6 MB, free: 3.391 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.795/1.795, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000955/0.0009552, allocations: 90.98 kB / 0.745 GB, free: 54.67 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.053e-05/5.054e-05, allocations: 4 kB / 0.8664 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2836, allocations: 116.3 MB / 0.9799 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8388/1.122, allocations: 141.7 MB / 1.118 GB, free: 42.68 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/1.123, allocations: 74.77 kB / 1.118 GB, free: 42.65 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01442/1.137, allocations: 5.29 MB / 1.124 GB, free: 39.68 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.102e-06/1.137, allocations: 3.938 kB / 1.124 GB, free: 39.67 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.622e-05/1.137, allocations: 8 kB / 1.124 GB, free: 39.66 MB / 0.7448 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.0008129/1.138, allocations: 0.6516 MB / 1.124 GB, free: 38.99 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/1.138, allocations: 12.03 kB / 1.124 GB, free: 38.98 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.444e-05/1.138, allocations: 41.73 kB / 1.124 GB, free: 38.94 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/1.138, allocations: 38.23 kB / 1.124 GB, free: 38.9 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004015/1.139, allocations: 278.9 kB / 1.125 GB, free: 38.64 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.939e-05/1.139, allocations: 19.75 kB / 1.125 GB, free: 38.63 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.023e-05/1.139, allocations: 19.94 kB / 1.125 GB, free: 38.61 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002916/1.139, allocations: 169.1 kB / 1.125 GB, free: 38.52 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/1.139, allocations: 0 / 1.125 GB, free: 38.52 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.925e-05/1.139, allocations: 7.469 kB / 1.125 GB, free: 38.52 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/1.139, allocations: 8.5 kB / 1.125 GB, free: 38.52 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/1.139, allocations: 62.45 kB / 1.125 GB, free: 38.48 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/1.141, allocations: 0.5944 MB / 1.125 GB, free: 38.08 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002293/1.141, allocations: 111.9 kB / 1.126 GB, free: 38 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/1.141, allocations: 64.38 kB / 1.126 GB, free: 37.96 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/1.141, allocations: 4 kB / 1.126 GB, free: 37.95 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002379/1.141, allocations: 167.5 kB / 1.126 GB, free: 37.85 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 2.685e-06/1.141, allocations: 0 / 1.126 GB, free: 37.85 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0005213/1.142, allocations: 262.6 kB / 1.126 GB, free: 37.66 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/1.142, allocations: 62.81 kB / 1.126 GB, free: 37.59 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002829/1.142, allocations: 279.1 kB / 1.126 GB, free: 37.39 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.155e-05/1.142, allocations: 43.17 kB / 1.126 GB, free: 37.36 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.496e-05/1.142, allocations: 100.2 kB / 1.126 GB, free: 37.25 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/1.142, allocations: 38.38 kB / 1.127 GB, free: 37.23 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/1.142, allocations: 10.53 kB / 1.127 GB, free: 37.22 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.272e-05/1.142, allocations: 329.8 kB / 1.127 GB, free: 36.9 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/1.143, allocations: 101 kB / 1.127 GB, free: 36.84 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/1.143, allocations: 160.6 kB / 1.127 GB, free: 36.72 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000219/1.143, allocations: 158.8 kB / 1.127 GB, free: 36.6 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/1.143, allocations: 4 kB / 1.127 GB, free: 36.6 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006278/1.144, allocations: 423.5 kB / 1.128 GB, free: 36.29 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.517e-05/1.144, allocations: 77.06 kB / 1.128 GB, free: 36.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/1.144, allocations: 4 kB / 1.128 GB, free: 36.21 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/1.144, allocations: 4 kB / 1.128 GB, free: 36.21 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/1.144, allocations: 26.62 kB / 1.128 GB, free: 36.19 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/1.144, allocations: 4 kB / 1.128 GB, free: 36.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003258/1.144, allocations: 45.17 kB / 1.128 GB, free: 36.15 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.257e-05/1.144, allocations: 43.38 kB / 1.128 GB, free: 36.11 MB / 0.7448 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 () * 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.0001122/1.145, allocations: 134.1 kB / 1.128 GB, free: 35.99 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.321e-05/1.145, allocations: 31.67 kB / 1.128 GB, free: 35.96 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.057e-05/1.145, allocations: 23.53 kB / 1.128 GB, free: 35.95 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/1.145, allocations: 4 kB / 1.128 GB, free: 35.95 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.145, allocations: 0 / 1.128 GB, free: 35.95 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/1.145, allocations: 8.109 kB / 1.128 GB, free: 35.94 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007472/1.145, allocations: 0.6418 MB / 1.129 GB, free: 35.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.145, allocations: 0 / 1.129 GB, free: 35.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.565e-05/1.145, allocations: 7.312 kB / 1.129 GB, free: 35.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/1.145, allocations: 3.234 kB / 1.129 GB, free: 35.43 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.259e-05/1.146, allocations: 18.89 kB / 1.129 GB, free: 35.42 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/1.146, allocations: 3.938 kB / 1.129 GB, free: 35.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.146, allocations: 2.125 kB / 1.129 GB, free: 35.41 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004182/1.146, allocations: 360.4 kB / 1.129 GB, free: 35.12 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002585/1.146, allocations: 191.5 kB / 1.129 GB, free: 34.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.22e-05/1.146, allocations: 14.28 kB / 1.129 GB, free: 34.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004092/1.147, allocations: 33.58 kB / 1.129 GB, free: 34.95 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.822e-05/1.147, allocations: 7.422 kB / 1.129 GB, free: 34.95 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.417e-05/1.147, allocations: 45.81 kB / 1.129 GB, free: 34.91 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001953/1.147, allocations: 224.2 kB / 1.13 GB, free: 34.75 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.147, allocations: 4 kB / 1.13 GB, free: 34.75 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003414/1.147, allocations: 57.86 kB / 1.13 GB, free: 34.7 MB / 0.7448 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) * 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.0007178/1.148, allocations: 0.9177 MB / 1.13 GB, free: 33.85 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005228/1.149, allocations: 359.1 kB / 1.131 GB, free: 33.57 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.149, allocations: 4.594 kB / 1.131 GB, free: 33.57 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001427/1.149, allocations: 67.92 kB / 1.131 GB, free: 33.53 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/1.149, allocations: 30.36 kB / 1.131 GB, free: 33.52 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007809/1.15, allocations: 386.1 kB / 1.131 GB, free: 33.2 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002079/1.15, allocations: 0.7601 MB / 1.132 GB, free: 32.46 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.819e-05/1.15, allocations: 13.44 kB / 1.132 GB, free: 32.45 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.754e-05/1.15, allocations: 38.45 kB / 1.132 GB, free: 32.44 MB / 0.7448 GB Notification: Performance of SimCode: time 2.6e-07/1.15, allocations: 4 kB / 1.132 GB, free: 32.43 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01783/1.168, allocations: 5.522 MB / 1.137 GB, free: 29.26 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001496/1.168, allocations: 176.8 kB / 1.138 GB, free: 29.04 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.551/2.719, allocations: 4 kB / 1.138 GB, free: 29.03 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)