Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.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.001001/0.001001, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001148/0.001148, allocations: 177 kB / 23.36 MB, free: 1.129 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.9384/0.9384, 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.419/2.419, allocations: 438.8 MB / 0.6826 GB, free: 13.55 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.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.261e-05/1.408e-05, allocations: 4.562 kB / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.001915/0.001929, allocations: 1.778 MB / 0.8404 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001041/0.00297, allocations: 0.6244 MB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.959e-05/0.00303, allocations: 4 kB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 8.727e-05/0.003117, allocations: 7.875 kB / 0.841 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.003226, allocations: 35.72 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007162/0.003942, allocations: 371.3 kB / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0006545/0.004597, allocations: 0.6009 MB / 0.842 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.725e-05/0.004684, allocations: 25.95 kB / 0.842 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004081/0.005092, allocations: 423.5 kB / 0.8424 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001938/0.005286, allocations: 147.5 kB / 0.8425 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 5.197e-05/0.005338, allocations: 44 kB / 0.8426 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 4.658e-05/0.005384, allocations: 40 kB / 0.8426 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 9.64e-05/0.005481, allocations: 127.6 kB / 0.8427 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.005587, allocations: 147.7 kB / 0.8429 GB, free: 9.758 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003015/0.005889, allocations: 438.7 kB / 0.8433 GB, free: 9.328 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.005891, allocations: 0 / 0.8433 GB, free: 9.328 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.01e-07/0.005891, allocations: 0 / 0.8433 GB, free: 9.328 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.005895, allocations: 0 / 0.8433 GB, free: 9.328 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.0007382/0.006633, allocations: 0.7817 MB / 0.8441 GB, free: 8.48 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.006663, allocations: 12.61 kB / 0.8441 GB, free: 8.469 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.808e-05/0.006741, allocations: 52.81 kB / 0.8441 GB, free: 8.418 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/0.006974, allocations: 248 kB / 0.8444 GB, free: 8.148 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.342e-05/0.007007, allocations: 20.36 kB / 0.8444 GB, free: 8.129 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.174e-05/0.007059, allocations: 36.36 kB / 0.8444 GB, free: 8.094 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002969/0.007356, allocations: 194.7 kB / 0.8446 GB, free: 7.895 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.007363, allocations: 192 / 0.8446 GB, free: 7.895 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.00738, allocations: 4.375 kB / 0.8446 GB, free: 7.891 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.007385, allocations: 4.375 kB / 0.8446 GB, free: 7.887 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.652e-05/0.007472, allocations: 49.97 kB / 0.8447 GB, free: 7.84 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005108/0.007983, allocations: 331.9 kB / 0.845 GB, free: 7.5 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.008127, allocations: 98.53 kB / 0.8451 GB, free: 7.395 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.645e-05/0.008193, allocations: 40.84 kB / 0.8451 GB, free: 7.352 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.008206, allocations: 4 kB / 0.8451 GB, free: 7.348 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001461/0.008352, allocations: 159.1 kB / 0.8453 GB, free: 7.18 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.163e-06/0.008353, allocations: 0 / 0.8453 GB, free: 7.18 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0003094/0.008662, allocations: 208.7 kB / 0.8455 GB, free: 6.973 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.00869, allocations: 55.41 kB / 0.8455 GB, free: 6.906 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.008875, allocations: 351.4 kB / 0.8458 GB, free: 6.551 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.473e-05/0.008909, allocations: 41.7 kB / 0.8459 GB, free: 6.504 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.831e-05/0.008958, allocations: 101.4 kB / 0.846 GB, free: 6.402 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.008985, allocations: 43.64 kB / 0.846 GB, free: 6.359 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.009095, allocations: 121.4 kB / 0.8461 GB, free: 6.234 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.268e-05/0.009167, allocations: 322.8 kB / 0.8464 GB, free: 5.91 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.009314, allocations: 163.3 kB / 0.8466 GB, free: 5.738 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.00947, allocations: 213.3 kB / 0.8468 GB, free: 5.496 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.009639, allocations: 258.5 kB / 0.8471 GB, free: 5.211 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.009641, allocations: 0 / 0.8471 GB, free: 5.211 MB / 0.8073 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003392/0.00998, allocations: 452 kB / 0.8475 GB, free: 4.738 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.92e-05/0.01003, allocations: 91.38 kB / 0.8476 GB, free: 4.637 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.01003, allocations: 0 / 0.8476 GB, free: 4.637 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.01005, allocations: 8.188 kB / 0.8476 GB, free: 4.629 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.361e-05/0.01014, allocations: 35.91 kB / 0.8476 GB, free: 4.594 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-06/0.01014, allocations: 0 / 0.8476 GB, free: 4.594 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.0103, allocations: 47.86 kB / 0.8477 GB, free: 4.547 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-05/0.01037, allocations: 51.98 kB / 0.8477 GB, free: 4.496 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.0001085/0.01048, allocations: 139.2 kB / 0.8478 GB, free: 4.348 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.977e-05/0.01052, allocations: 35.91 kB / 0.8479 GB, free: 4.312 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.463e-05/0.01055, allocations: 35.72 kB / 0.8479 GB, free: 4.281 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.01055, allocations: 4 kB / 0.8479 GB, free: 4.277 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.01055, allocations: 0 / 0.8479 GB, free: 4.277 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.01056, allocations: 3.984 kB / 0.8479 GB, free: 4.273 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003822/0.01094, allocations: 406.6 kB / 0.8483 GB, free: 3.848 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.01094, allocations: 0 / 0.8483 GB, free: 3.848 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.981e-05/0.01096, allocations: 4 kB / 0.8483 GB, free: 3.844 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.01096, allocations: 4 kB / 0.8483 GB, free: 3.84 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.01098, allocations: 11.97 kB / 0.8483 GB, free: 3.828 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.01098, allocations: 4 kB / 0.8483 GB, free: 3.824 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01098, allocations: 0 / 0.8483 GB, free: 3.824 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/0.01118, allocations: 250.2 kB / 0.8486 GB, free: 3.566 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001676/0.01135, allocations: 135.5 kB / 0.8487 GB, free: 3.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.113e-05/0.0114, allocations: 16 kB / 0.8487 GB, free: 3.414 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.01158, allocations: 35.97 kB / 0.8487 GB, free: 3.379 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.99e-05/0.0116, allocations: 7.984 kB / 0.8488 GB, free: 3.371 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.933e-05/0.01164, allocations: 47.97 kB / 0.8488 GB, free: 3.324 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001038/0.01174, allocations: 140.7 kB / 0.8489 GB, free: 3.184 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.01174, allocations: 0 / 0.8489 GB, free: 3.184 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001896/0.01193, allocations: 68 kB / 0.849 GB, free: 3.117 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 9.063e-05/0.01202, allocations: 96.41 kB / 0.8491 GB, free: 3.016 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003889/0.01241, allocations: 422.8 kB / 0.8495 GB, free: 2.562 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.01241, allocations: 8 kB / 0.8495 GB, free: 2.555 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.073e-05/0.01249, allocations: 61.14 kB / 0.8496 GB, free: 2.492 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/0.01268, allocations: 50.16 kB / 0.8496 GB, free: 2.445 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004766/0.01316, allocations: 489.9 kB / 0.8501 GB, free: 1.938 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.971e-05/0.01322, allocations: 91.81 kB / 0.8502 GB, free: 1.828 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.454e-05/0.01325, allocations: 13.48 kB / 0.8502 GB, free: 1.816 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.01341, allocations: 119.3 kB / 0.8503 GB, free: 1.699 MB / 0.8073 GB Notification: Performance of SimCode: time 5.41e-07/0.01341, allocations: 0 / 0.8503 GB, free: 1.699 MB / 0.8073 GB Notification: Performance of Templates: time 0.006475/0.01989, allocations: 5.885 MB / 0.856 GB, free: 11.79 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.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.192850135732442]