Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 108.5 kB / 16.4 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 188 kB / 17.34 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002524/0.002524, allocations: 278.5 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.032/1.032, allocations: 169.3 MB / 0.499 GB, free: 4.398 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002853/0.002853, allocations: 104.1 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.509/0.5119, allocations: 86.97 MB / 0.767 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.002658/0.5145, allocations: 1.483 MB / 0.7685 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.5156, allocations: 435.5 kB / 0.7689 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.664e-05/0.5156, allocations: 4 kB / 0.7689 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.529e-05/0.5157, allocations: 11.86 kB / 0.7689 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.91e-05/0.5158, allocations: 16.25 kB / 0.7689 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000696/0.5165, allocations: 251.6 kB / 0.7692 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004118/0.5169, allocations: 319.5 kB / 0.7695 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.772e-05/0.5169, allocations: 4 kB / 0.7695 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002885/0.5172, allocations: 203.7 kB / 0.7697 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002305/0.5175, allocations: 108.7 kB / 0.7698 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.538e-05/0.5175, allocations: 20 kB / 0.7698 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.454e-05/0.5176, allocations: 20 kB / 0.7698 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.5177, allocations: 83.72 kB / 0.7699 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001704/0.5179, allocations: 127.4 kB / 0.77 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003463/0.5182, allocations: 300.5 kB / 0.7703 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.5182, allocations: 0 / 0.7703 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5182, allocations: 0 / 0.7703 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.5182, allocations: 0 / 0.7703 GB, free: 0.5469 MB / 0.5294 GB 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.001226/0.5194, allocations: 0.7462 MB / 0.771 GB, free: 15.71 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.5195, allocations: 12.03 kB / 0.771 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.771e-05/0.5196, allocations: 28.8 kB / 0.7711 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003626/0.5199, allocations: 267.8 kB / 0.7713 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.114e-05/0.52, allocations: 12.38 kB / 0.7713 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.757e-05/0.52, allocations: 31.92 kB / 0.7714 GB, free: 15.33 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.5211, allocations: 193.5 kB / 0.7715 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.5211, allocations: 3.938 kB / 0.7715 GB, free: 15.13 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.886e-05/0.5211, allocations: 4 kB / 0.7715 GB, free: 15.13 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.5212, allocations: 3.938 kB / 0.7715 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007996/0.5219, allocations: 103.9 kB / 0.7716 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003805/0.5223, allocations: 313.4 kB / 0.7719 GB, free: 14.67 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.5234, allocations: 166.4 kB / 0.7721 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007667/0.5242, allocations: 104.8 kB / 0.7722 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.5242, allocations: 384 / 0.7722 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001063/0.5252, allocations: 211.1 kB / 0.7724 GB, free: 14.17 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.5252, allocations: 0 / 0.7724 GB, free: 14.17 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002565/0.5278, allocations: 453.1 kB / 0.7728 GB, free: 13.72 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.581e-05/0.5279, allocations: 67.39 kB / 0.7729 GB, free: 13.64 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000303/0.5282, allocations: 287 kB / 0.7732 GB, free: 13.36 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5e-05/0.5283, allocations: 37.69 kB / 0.7732 GB, free: 13.32 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.407e-05/0.5283, allocations: 93.14 kB / 0.7733 GB, free: 13.22 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.942e-05/0.5284, allocations: 39.69 kB / 0.7733 GB, free: 13.18 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.5285, allocations: 93.58 kB / 0.7734 GB, free: 13.09 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.5287, allocations: 326.8 kB / 0.7737 GB, free: 12.76 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/0.5289, allocations: 79.95 kB / 0.7738 GB, free: 12.68 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002279/0.5291, allocations: 136.8 kB / 0.7739 GB, free: 12.53 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003366/0.5295, allocations: 239.3 kB / 0.7742 GB, free: 12.26 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.5295, allocations: 3.938 kB / 0.7742 GB, free: 12.26 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006783/0.5301, allocations: 392.8 kB / 0.7746 GB, free: 11.86 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.018e-05/0.5302, allocations: 75.42 kB / 0.7746 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.5302, allocations: 0 / 0.7746 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.5303, allocations: 4 kB / 0.7746 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.5304, allocations: 31.91 kB / 0.7747 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.5304, allocations: 0 / 0.7747 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004395/0.5309, allocations: 59.78 kB / 0.7747 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.349e-05/0.5309, allocations: 36 kB / 0.7747 GB, free: 11.64 MB / 0.545 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.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.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.0001982/0.5311, allocations: 175.9 kB / 0.7749 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.713e-05/0.5312, allocations: 23.86 kB / 0.7749 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.494e-05/0.5312, allocations: 30.3 kB / 0.775 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.5312, allocations: 0 / 0.775 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.5312, allocations: 0 / 0.775 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.5312, allocations: 4 kB / 0.775 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002162/0.5334, allocations: 0.6975 MB / 0.7757 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.5334, allocations: 0 / 0.7757 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.382e-05/0.5334, allocations: 7.938 kB / 0.7757 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.5334, allocations: 0 / 0.7757 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.394e-05/0.5335, allocations: 15.97 kB / 0.7757 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.5335, allocations: 0 / 0.7757 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.5335, allocations: 4 kB / 0.7757 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001733/0.5352, allocations: 454.7 kB / 0.7761 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002199/0.5354, allocations: 168.8 kB / 0.7763 GB, free: 9.98 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.042e-05/0.5355, allocations: 11.98 kB / 0.7763 GB, free: 9.969 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004697/0.536, allocations: 31.97 kB / 0.7763 GB, free: 9.938 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.536, allocations: 11.98 kB / 0.7763 GB, free: 9.926 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.893e-05/0.5361, allocations: 43.92 kB / 0.7764 GB, free: 9.883 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000218/0.5363, allocations: 209.9 kB / 0.7766 GB, free: 9.676 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.5363, allocations: 0 / 0.7766 GB, free: 9.676 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003244/0.5366, allocations: 55.92 kB / 0.7766 GB, free: 9.621 MB / 0.545 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.hourSampleTrigger,calTim.daySampleTrigger,$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.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,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.0001841/0.5368, allocations: 116.2 kB / 0.7767 GB, free: 9.496 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001195/0.538, allocations: 354.5 kB / 0.7771 GB, free: 9.125 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.538, allocations: 3.938 kB / 0.7771 GB, free: 9.121 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007707/0.5387, allocations: 112.3 kB / 0.7772 GB, free: 9.012 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.5391, allocations: 20.64 kB / 0.7772 GB, free: 8.992 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.5405, allocations: 435.3 kB / 0.7776 GB, free: 8.539 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004607/0.5409, allocations: 0.7435 MB / 0.7783 GB, free: 7.77 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.035e-05/0.541, allocations: 17.08 kB / 0.7784 GB, free: 7.754 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.322e-05/0.541, allocations: 15.42 kB / 0.7784 GB, free: 7.738 MB / 0.545 GB Notification: Performance of SimCode: time 4e-07/0.541, allocations: 0 / 0.7784 GB, free: 7.738 MB / 0.545 GB Notification: Performance of Templates: time 0.007754/0.5488, allocations: 3.648 MB / 0.7819 GB, free: 4.145 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)