Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7313/0.7313, allocations: 127.3 MB / 139.8 MB, free: 15.47 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00101/0.00101, allocations: 179.8 kB / 169.7 MB, free: 1.746 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 205.1 MB / 404.5 MB, free: 1.578 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001184/0.001184, allocations: 95.41 kB / 481.8 MB, free: 4.227 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.182e-05/4.186e-05, allocations: 0 / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1503, allocations: 76.75 MB / 0.6282 GB, free: 9.918 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4772/0.6275, allocations: 104.5 MB / 0.7303 GB, free: 8.879 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002038/0.6278, allocations: 73.39 kB / 0.7304 GB, free: 8.84 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.013/0.6408, allocations: 4.684 MB / 0.7349 GB, free: 4.785 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.6408, allocations: 0 / 0.7349 GB, free: 4.785 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.348e-06/0.6408, allocations: 4 kB / 0.7349 GB, free: 4.781 MB / 490.7 MB 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.0007933/0.6416, allocations: 0.5425 MB / 0.7355 GB, free: 4.188 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.6417, allocations: 8.031 kB / 0.7355 GB, free: 4.18 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.382e-05/0.6418, allocations: 37.38 kB / 0.7355 GB, free: 4.137 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.535e-05/0.6419, allocations: 35.66 kB / 0.7355 GB, free: 4.102 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.642, allocations: 187.9 kB / 0.7357 GB, free: 3.875 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.543e-05/0.6421, allocations: 11.25 kB / 0.7357 GB, free: 3.867 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.578e-05/0.6422, allocations: 31.3 kB / 0.7358 GB, free: 3.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002811/0.6425, allocations: 134.3 kB / 0.7359 GB, free: 3.723 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.6425, allocations: 0 / 0.7359 GB, free: 3.723 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/0.6425, allocations: 3.875 kB / 0.7359 GB, free: 3.723 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.6425, allocations: 4 kB / 0.7359 GB, free: 3.719 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.6426, allocations: 43.5 kB / 0.7359 GB, free: 3.688 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003583/0.643, allocations: 305.6 kB / 0.7362 GB, free: 3.383 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002304/0.6432, allocations: 131.2 kB / 0.7364 GB, free: 3.281 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.6434, allocations: 51.34 kB / 0.7364 GB, free: 3.242 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.6434, allocations: 4 kB / 0.7364 GB, free: 3.238 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003547/0.6438, allocations: 204.4 kB / 0.7366 GB, free: 3.051 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 2.946e-06/0.6438, allocations: 0 / 0.7366 GB, free: 3.051 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004665/0.6442, allocations: 208.6 kB / 0.7368 GB, free: 2.871 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/0.6443, allocations: 67.27 kB / 0.7369 GB, free: 2.797 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.6445, allocations: 196.3 kB / 0.7371 GB, free: 2.629 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.443e-05/0.6446, allocations: 40.83 kB / 0.7371 GB, free: 2.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.972e-05/0.6447, allocations: 92.81 kB / 0.7372 GB, free: 2.496 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.151e-05/0.6447, allocations: 44.97 kB / 0.7372 GB, free: 2.461 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/0.6448, allocations: 7.25 kB / 0.7372 GB, free: 2.457 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.6449, allocations: 326.5 kB / 0.7375 GB, free: 2.133 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/0.6451, allocations: 91.34 kB / 0.7376 GB, free: 2.074 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002342/0.6454, allocations: 152.8 kB / 0.7378 GB, free: 1.938 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.6456, allocations: 143.5 kB / 0.7379 GB, free: 1.809 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.6456, allocations: 0 / 0.7379 GB, free: 1.809 MB / 490.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006577/0.6463, allocations: 399 kB / 0.7383 GB, free: 1.469 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.431e-05/0.6464, allocations: 81.38 kB / 0.7384 GB, free: 1.383 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.6464, allocations: 0 / 0.7384 GB, free: 1.383 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.6464, allocations: 4 kB / 0.7384 GB, free: 1.379 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.6466, allocations: 19.98 kB / 0.7384 GB, free: 1.359 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.6466, allocations: 7.938 kB / 0.7384 GB, free: 1.352 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003399/0.6469, allocations: 51.06 kB / 0.7385 GB, free: 1.305 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-05/0.647, allocations: 43.36 kB / 0.7385 GB, free: 1.266 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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.0001282/0.6471, allocations: 133.6 kB / 0.7386 GB, free: 1.141 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.457e-05/0.6472, allocations: 15.81 kB / 0.7386 GB, free: 1.125 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.116e-05/0.6472, allocations: 28.77 kB / 0.7387 GB, free: 1.105 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.6472, allocations: 0 / 0.7387 GB, free: 1.105 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.6473, allocations: 8 kB / 0.7387 GB, free: 1.098 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.6473, allocations: 0 / 0.7387 GB, free: 1.098 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007561/0.648, allocations: 0.5349 MB / 0.7392 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.648, allocations: 0 / 0.7392 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.261e-05/0.6481, allocations: 11.92 kB / 0.7392 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.6481, allocations: 3.938 kB / 0.7392 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.557e-05/0.6481, allocations: 19.05 kB / 0.7392 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.6481, allocations: 0 / 0.7392 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.6482, allocations: 0 / 0.7392 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003699/0.6485, allocations: 316.6 kB / 0.7395 GB, free: 256 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/0.6487, allocations: 135.7 kB / 0.7397 GB, free: 112 kB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.454e-05/0.6487, allocations: 11.31 kB / 0.7397 GB, free: 104 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.6489, allocations: 7.984 kB / 0.7397 GB, free: 96 kB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/0.649, allocations: 15.23 kB / 0.7397 GB, free: 84 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-05/0.649, allocations: 27.97 kB / 0.7397 GB, free: 56 kB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001435/0.6492, allocations: 164.1 kB / 0.7399 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6492, allocations: 4 kB / 0.7399 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002911/0.6495, allocations: 49.92 kB / 0.7399 GB, free: 15.87 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * 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.0006989/0.6502, allocations: 0.8534 MB / 0.7408 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004831/0.6507, allocations: 347.8 kB / 0.7411 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.6507, allocations: 0 / 0.7411 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.6508, allocations: 71.53 kB / 0.7412 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.651, allocations: 22.95 kB / 0.7412 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006207/0.6517, allocations: 267.8 kB / 0.7414 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.652, allocations: 0.7354 MB / 0.7422 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001462/0.6521, allocations: 33.14 kB / 0.7422 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.6523, allocations: 39.3 kB / 0.7422 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of SimCode: time 3.31e-07/0.6523, allocations: 0 / 0.7422 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01577/0.668, allocations: 5.001 MB / 0.7471 GB, free: 8.695 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002071/0.6683, allocations: 167.7 kB / 0.7473 GB, free: 8.473 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.623/2.292, allocations: 4 kB / 0.7473 GB, free: 8.469 MB / 0.4948 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)