Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 177 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9687/0.9687, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.41/2.41, allocations: 438.8 MB / 0.6826 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.369e-05/2.594e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002243/0.002269, allocations: 1.784 MB / 0.8404 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001114/0.003383, allocations: 0.6205 MB / 0.841 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.641e-05/0.003469, allocations: 4 kB / 0.841 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.003571, allocations: 7.875 kB / 0.841 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001328/0.003704, allocations: 35.78 kB / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007711/0.004475, allocations: 379.2 kB / 0.8414 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0005046/0.004979, allocations: 0.6009 MB / 0.842 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.864e-05/0.005068, allocations: 21.95 kB / 0.842 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004915/0.00556, allocations: 427.5 kB / 0.8424 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002253/0.005785, allocations: 145 kB / 0.8425 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 6.112e-05/0.005846, allocations: 47.98 kB / 0.8426 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.479e-05/0.005901, allocations: 40 kB / 0.8426 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 9.955e-05/0.006, allocations: 127.6 kB / 0.8427 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.006115, allocations: 151.7 kB / 0.8429 GB, free: 9.816 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000322/0.006437, allocations: 430.7 kB / 0.8433 GB, free: 9.395 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.00644, allocations: 0 / 0.8433 GB, free: 9.395 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.102e-06/0.006441, allocations: 0 / 0.8433 GB, free: 9.395 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.006447, allocations: 0 / 0.8433 GB, free: 9.395 MB / 0.8073 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.0008457/0.007293, allocations: 0.7856 MB / 0.8441 GB, free: 8.543 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.00733, allocations: 8.625 kB / 0.8441 GB, free: 8.535 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.99e-05/0.00742, allocations: 56.86 kB / 0.8441 GB, free: 8.48 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.00769, allocations: 244 kB / 0.8443 GB, free: 8.215 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.078e-05/0.00774, allocations: 20.36 kB / 0.8444 GB, free: 8.195 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.739e-05/0.007798, allocations: 36.3 kB / 0.8444 GB, free: 8.16 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003889/0.008187, allocations: 190.7 kB / 0.8446 GB, free: 7.965 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.008198, allocations: 192 / 0.8446 GB, free: 7.965 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.008221, allocations: 8.375 kB / 0.8446 GB, free: 7.957 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.008228, allocations: 384 / 0.8446 GB, free: 7.957 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.286e-05/0.008321, allocations: 53.8 kB / 0.8446 GB, free: 7.906 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007075/0.009028, allocations: 320 kB / 0.8449 GB, free: 7.578 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.009229, allocations: 102.5 kB / 0.845 GB, free: 7.469 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.684e-05/0.009316, allocations: 44.83 kB / 0.8451 GB, free: 7.422 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.009339, allocations: 4 kB / 0.8451 GB, free: 7.418 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002005/0.009539, allocations: 155.2 kB / 0.8452 GB, free: 7.254 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.614e-06/0.009541, allocations: 0 / 0.8452 GB, free: 7.254 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0003844/0.009925, allocations: 208.8 kB / 0.8454 GB, free: 7.047 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.009976, allocations: 59.41 kB / 0.8455 GB, free: 6.977 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002881/0.01026, allocations: 347.4 kB / 0.8458 GB, free: 6.625 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.682e-05/0.01031, allocations: 41.7 kB / 0.8459 GB, free: 6.578 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.213e-05/0.01038, allocations: 105.3 kB / 0.846 GB, free: 6.473 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.049e-05/0.01042, allocations: 43.7 kB / 0.846 GB, free: 6.43 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.01058, allocations: 121.4 kB / 0.8461 GB, free: 6.305 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.01069, allocations: 322.8 kB / 0.8464 GB, free: 5.98 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/0.01089, allocations: 163.3 kB / 0.8466 GB, free: 5.809 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001903/0.01108, allocations: 217.2 kB / 0.8468 GB, free: 5.562 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002402/0.01132, allocations: 246.8 kB / 0.847 GB, free: 5.289 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.01133, allocations: 0 / 0.847 GB, free: 5.289 MB / 0.8073 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004424/0.01177, allocations: 460 kB / 0.8475 GB, free: 4.809 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 6.665e-05/0.01184, allocations: 91.38 kB / 0.8476 GB, free: 4.707 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.01184, allocations: 0 / 0.8476 GB, free: 4.707 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.01186, allocations: 4.188 kB / 0.8476 GB, free: 4.703 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.01197, allocations: 43.91 kB / 0.8476 GB, free: 4.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.01198, allocations: 0 / 0.8476 GB, free: 4.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.01215, allocations: 47.8 kB / 0.8477 GB, free: 4.613 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.724e-05/0.01221, allocations: 51.98 kB / 0.8477 GB, free: 4.562 MB / 0.8073 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 (calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.calTim.year) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001624/0.01238, allocations: 143.2 kB / 0.8478 GB, free: 4.41 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.381e-05/0.01242, allocations: 31.91 kB / 0.8479 GB, free: 4.379 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.041e-05/0.01247, allocations: 39.72 kB / 0.8479 GB, free: 4.344 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.01247, allocations: 4 kB / 0.8479 GB, free: 4.34 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.01248, allocations: 0 / 0.8479 GB, free: 4.34 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.01248, allocations: 0 / 0.8479 GB, free: 4.34 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004467/0.01293, allocations: 398.6 kB / 0.8483 GB, free: 3.922 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01293, allocations: 0 / 0.8483 GB, free: 3.922 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.536e-05/0.01295, allocations: 4 kB / 0.8483 GB, free: 3.918 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.01296, allocations: 0 / 0.8483 GB, free: 3.918 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.055e-05/0.01298, allocations: 15.97 kB / 0.8483 GB, free: 3.902 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.01298, allocations: 4 kB / 0.8483 GB, free: 3.898 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.01298, allocations: 0 / 0.8483 GB, free: 3.898 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.01322, allocations: 239.8 kB / 0.8485 GB, free: 3.648 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/0.01338, allocations: 143.4 kB / 0.8487 GB, free: 3.504 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.113e-05/0.01343, allocations: 20 kB / 0.8487 GB, free: 3.484 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.01361, allocations: 27.97 kB / 0.8487 GB, free: 3.457 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.021e-05/0.01364, allocations: 11.98 kB / 0.8487 GB, free: 3.445 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.361e-05/0.01368, allocations: 51.97 kB / 0.8488 GB, free: 3.395 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001115/0.0138, allocations: 132.7 kB / 0.8489 GB, free: 3.262 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.0138, allocations: 0 / 0.8489 GB, free: 3.262 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002203/0.01402, allocations: 75.98 kB / 0.849 GB, free: 3.188 MB / 0.8073 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001671/0.01418, allocations: 96.41 kB / 0.8491 GB, free: 3.086 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0004161/0.0146, allocations: 422.7 kB / 0.8495 GB, free: 2.633 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/0.01461, allocations: 4 kB / 0.8495 GB, free: 2.629 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.045e-05/0.0147, allocations: 67.67 kB / 0.8495 GB, free: 2.562 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.01491, allocations: 52.92 kB / 0.8496 GB, free: 2.516 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005629/0.01548, allocations: 491.8 kB / 0.8501 GB, free: 2.004 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.854e-05/0.01553, allocations: 87.81 kB / 0.8501 GB, free: 1.898 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.28e-05/0.01557, allocations: 21.48 kB / 0.8502 GB, free: 1.879 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/0.01574, allocations: 123.3 kB / 0.8503 GB, free: 1.758 MB / 0.8073 GB Notification: Performance of SimCode: time 8.52e-07/0.01574, allocations: 0 / 0.8503 GB, free: 1.758 MB / 0.8073 GB Notification: Performance of Templates: time 0.007035/0.02277, allocations: 5.88 MB / 0.856 GB, free: 11.85 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.402893994934857]