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.001088/0.001093, allocations: 102.2 kB / 16.4 MB, free: 6.492 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.001195/0.001195, allocations: 193.6 kB / 17.34 MB, free: 5.762 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.241/1.241, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002035/0.002035, allocations: 286 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8955/0.8955, allocations: 169.3 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 91.86 kB / 0.6821 GB, free: 7.023 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4121/0.414, allocations: 86.98 MB / 0.767 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.002632/0.4166, allocations: 1.476 MB / 0.7685 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009608/0.4176, allocations: 433.1 kB / 0.7689 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.694e-05/0.4177, allocations: 0 / 0.7689 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.4178, allocations: 11.88 kB / 0.7689 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.418, allocations: 20.22 kB / 0.7689 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007412/0.4187, allocations: 255.1 kB / 0.7691 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004215/0.4191, allocations: 323.5 kB / 0.7695 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.746e-05/0.4192, allocations: 11.92 kB / 0.7695 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003391/0.4195, allocations: 195.7 kB / 0.7697 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002589/0.4198, allocations: 114 kB / 0.7698 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.84e-05/0.4199, allocations: 23.94 kB / 0.7698 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.623e-05/0.42, allocations: 24 kB / 0.7698 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.4201, allocations: 79.77 kB / 0.7699 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.4202, allocations: 131.3 kB / 0.77 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002805/0.4205, allocations: 285.4 kB / 0.7703 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.4205, allocations: 0 / 0.7703 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.01e-07/0.4205, allocations: 3.938 kB / 0.7703 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.4205, allocations: 0 / 0.7703 GB, free: 0.6211 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.0009659/0.4215, allocations: 0.7383 MB / 0.771 GB, free: 15.8 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.4215, allocations: 20.02 kB / 0.771 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.904e-05/0.4216, allocations: 28.66 kB / 0.7711 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.4219, allocations: 267.6 kB / 0.7713 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.545e-05/0.422, allocations: 12.38 kB / 0.7713 GB, free: 15.44 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.752e-05/0.422, allocations: 19.94 kB / 0.7713 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008588/0.4229, allocations: 197.4 kB / 0.7715 GB, free: 15.22 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.4229, allocations: 0 / 0.7715 GB, free: 15.22 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/0.4229, allocations: 12 kB / 0.7715 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.4229, allocations: 0 / 0.7715 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000676/0.4236, allocations: 95.86 kB / 0.7716 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003094/0.4239, allocations: 317.3 kB / 0.7719 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009296/0.4249, allocations: 178.4 kB / 0.7721 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006667/0.4255, allocations: 104.8 kB / 0.7722 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.4256, allocations: 0 / 0.7722 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008404/0.4264, allocations: 219.1 kB / 0.7724 GB, free: 14.24 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.4264, allocations: 0 / 0.7724 GB, free: 14.24 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002202/0.4286, allocations: 444.2 kB / 0.7728 GB, free: 13.8 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.4287, allocations: 63.39 kB / 0.7729 GB, free: 13.73 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/0.4289, allocations: 290.9 kB / 0.7732 GB, free: 13.44 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.573e-05/0.429, allocations: 33.7 kB / 0.7732 GB, free: 13.4 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.008e-05/0.4291, allocations: 105.1 kB / 0.7733 GB, free: 13.29 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.141e-05/0.4291, allocations: 39.48 kB / 0.7733 GB, free: 13.25 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.4292, allocations: 93.48 kB / 0.7734 GB, free: 13.16 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.875e-05/0.4294, allocations: 322.8 kB / 0.7737 GB, free: 12.83 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.4295, allocations: 79.95 kB / 0.7738 GB, free: 12.75 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/0.4297, allocations: 138.4 kB / 0.7739 GB, free: 12.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002776/0.43, allocations: 235.5 kB / 0.7742 GB, free: 12.34 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.43, allocations: 3.938 kB / 0.7742 GB, free: 12.33 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000572/0.4306, allocations: 396.5 kB / 0.7746 GB, free: 11.93 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.602e-05/0.4307, allocations: 79.38 kB / 0.7746 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4307, allocations: 4 kB / 0.7746 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.4307, allocations: 8 kB / 0.7746 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.4309, allocations: 15.98 kB / 0.7747 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.4309, allocations: 11.88 kB / 0.7747 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004014/0.4313, allocations: 59.98 kB / 0.7747 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.084e-05/0.4314, allocations: 39.98 kB / 0.7748 GB, free: 11.7 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.000162/0.4315, allocations: 168 kB / 0.7749 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.045e-05/0.4316, allocations: 27.66 kB / 0.775 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.807e-05/0.4316, allocations: 30.3 kB / 0.775 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.4317, allocations: 0 / 0.775 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4317, allocations: 4 kB / 0.775 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.4317, allocations: 0 / 0.775 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001921/0.4336, allocations: 0.6935 MB / 0.7757 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4336, allocations: 0 / 0.7757 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.316e-05/0.4336, allocations: 11.94 kB / 0.7757 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.261e-06/0.4337, allocations: 4 kB / 0.7757 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.621e-05/0.4337, allocations: 15.97 kB / 0.7757 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.4337, allocations: 0 / 0.7757 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4337, allocations: 0 / 0.7757 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/0.4353, allocations: 446.5 kB / 0.7761 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001695/0.4354, allocations: 168.6 kB / 0.7763 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.097e-05/0.4355, allocations: 8 kB / 0.7763 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004269/0.4359, allocations: 31.97 kB / 0.7763 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/0.436, allocations: 7.984 kB / 0.7763 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-05/0.436, allocations: 43.91 kB / 0.7764 GB, free: 9.961 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001818/0.4362, allocations: 221.9 kB / 0.7766 GB, free: 9.742 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.4362, allocations: 0 / 0.7766 GB, free: 9.742 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002978/0.4365, allocations: 44 kB / 0.7766 GB, free: 9.699 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.0001269/0.4367, allocations: 115.2 kB / 0.7767 GB, free: 9.574 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001042/0.4377, allocations: 382.5 kB / 0.7771 GB, free: 9.176 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.4377, allocations: 0 / 0.7771 GB, free: 9.176 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006904/0.4384, allocations: 119.8 kB / 0.7772 GB, free: 9.059 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.4388, allocations: 20.64 kB / 0.7772 GB, free: 9.039 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.44, allocations: 465.8 kB / 0.7777 GB, free: 8.551 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.4402, allocations: 0.74 MB / 0.7784 GB, free: 7.785 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.691e-05/0.4403, allocations: 15.44 kB / 0.7784 GB, free: 7.77 MB / 0.545 GB Notification: Performance of SimCode: time 1.904e-06/0.4403, allocations: 0 / 0.7784 GB, free: 7.77 MB / 0.545 GB Notification: Performance of Templates: time 0.004761/0.4451, allocations: 2.842 MB / 0.7812 GB, free: 4.957 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)