Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 105.6 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001972/0.001972, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.554/1.554, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002368/0.002368, allocations: 286.8 kB / 303 MB, free: 3.648 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.077/1.077, allocations: 180.9 MB / 0.5261 GB, free: 2.777 MB / 382.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002969/0.002969, allocations: 99.84 kB / 0.7247 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6159/0.6189, allocations: 94.16 MB / 0.8167 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002666/0.6216, allocations: 1.524 MB / 0.8182 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001338/0.6229, allocations: 0.5538 MB / 0.8187 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.803e-05/0.6229, allocations: 1.312 kB / 0.8187 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.6231, allocations: 7.875 kB / 0.8187 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000125/0.6232, allocations: 34.47 kB / 0.8188 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007595/0.6239, allocations: 308.8 kB / 0.8191 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005644/0.6245, allocations: 482.6 kB / 0.8195 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.769e-05/0.6246, allocations: 11.08 kB / 0.8195 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003708/0.6249, allocations: 269.6 kB / 0.8198 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002691/0.6252, allocations: 152.6 kB / 0.8199 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.319e-05/0.6253, allocations: 26.69 kB / 0.82 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.85e-05/0.6253, allocations: 26.84 kB / 0.82 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001495/0.6255, allocations: 114.6 kB / 0.8201 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001962/0.6257, allocations: 181.2 kB / 0.8203 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005848/0.6263, allocations: 429.2 kB / 0.8207 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.6263, allocations: 1.188 kB / 0.8207 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6263, allocations: 0 / 0.8207 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.333e-06/0.6263, allocations: 0 / 0.8207 GB, free: 4.945 MB / 0.5762 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.001305/0.6276, allocations: 0.8859 MB / 0.8215 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.6276, allocations: 7.875 kB / 0.8216 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.326e-05/0.6277, allocations: 40.19 kB / 0.8216 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.6278, allocations: 51.03 kB / 0.8216 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003864/0.6282, allocations: 310.7 kB / 0.8219 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.573e-05/0.6282, allocations: 16.64 kB / 0.8219 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.367e-05/0.6283, allocations: 30.12 kB / 0.822 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009097/0.6292, allocations: 216.5 kB / 0.8222 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.6292, allocations: 3.938 kB / 0.8222 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.582e-05/0.6293, allocations: 1.172 kB / 0.8222 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.6293, allocations: 2.625 kB / 0.8222 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006973/0.63, allocations: 95.73 kB / 0.8223 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004995/0.6305, allocations: 391.9 kB / 0.8227 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009256/0.6314, allocations: 173.8 kB / 0.8228 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006614/0.6321, allocations: 106.8 kB / 0.8229 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.189e-05/0.6321, allocations: 12.23 kB / 0.8229 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009143/0.633, allocations: 219.2 kB / 0.8231 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.713e-06/0.633, allocations: 0 / 0.8231 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.002301/0.6353, allocations: 484.1 kB / 0.8236 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.6353, allocations: 60.69 kB / 0.8237 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004126/0.6358, allocations: 415.6 kB / 0.8241 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.075e-05/0.6358, allocations: 44.31 kB / 0.8241 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.741e-05/0.6359, allocations: 90.02 kB / 0.8242 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.18e-05/0.6359, allocations: 47.36 kB / 0.8242 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001872/0.6361, allocations: 126 kB / 0.8244 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.072e-05/0.6362, allocations: 321.1 kB / 0.8247 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002387/0.6364, allocations: 118.6 kB / 0.8248 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/0.6366, allocations: 171.1 kB / 0.8249 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003065/0.6369, allocations: 283.7 kB / 0.8252 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.6369, allocations: 0 / 0.8252 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007232/0.6377, allocations: 492.3 kB / 0.8257 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.168e-05/0.6378, allocations: 90.02 kB / 0.8258 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.6378, allocations: 7.938 kB / 0.8258 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.6378, allocations: 3.031 kB / 0.8258 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.638, allocations: 29.12 kB / 0.8258 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.638, allocations: 7.359 kB / 0.8258 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004872/0.6385, allocations: 53.12 kB / 0.8259 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.534e-05/0.6385, allocations: 57.88 kB / 0.8259 GB, free: 1.781 MB / 0.5762 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.0002397/0.6388, allocations: 199.8 kB / 0.8261 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.956e-05/0.6388, allocations: 45.44 kB / 0.8261 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.204e-05/0.6389, allocations: 41.09 kB / 0.8262 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.6389, allocations: 2.688 kB / 0.8262 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.086e-06/0.6389, allocations: 0.6562 kB / 0.8262 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.6389, allocations: 0.75 kB / 0.8262 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002148/0.6411, allocations: 0.7549 MB / 0.8269 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.6411, allocations: 0 / 0.8269 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.866e-05/0.6411, allocations: 6.75 kB / 0.8269 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.6411, allocations: 0 / 0.8269 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.439e-05/0.6412, allocations: 22.36 kB / 0.827 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.6412, allocations: 0 / 0.827 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.6412, allocations: 2.109 kB / 0.827 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001564/0.6427, allocations: 473.2 kB / 0.8274 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003188/0.6431, allocations: 198.8 kB / 0.8276 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.615e-05/0.6431, allocations: 11.3 kB / 0.8276 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004339/0.6436, allocations: 41.31 kB / 0.8276 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.6436, allocations: 8.328 kB / 0.8277 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.617e-05/0.6437, allocations: 60.22 kB / 0.8277 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003092/0.644, allocations: 292.4 kB / 0.828 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.644, allocations: 0 / 0.828 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004989/0.6445, allocations: 67 kB / 0.8281 GB, free: 0.6797 MB / 0.5762 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.001831/0.6463, allocations: 1.027 MB / 0.8291 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001322/0.6476, allocations: 406.5 kB / 0.8294 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6476, allocations: 0 / 0.8294 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006765/0.6483, allocations: 111 kB / 0.8296 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.6487, allocations: 35.3 kB / 0.8296 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004344/0.6531, allocations: 2.803 MB / 0.8323 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004759/0.6535, allocations: 0.7675 MB / 0.8331 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.217e-05/0.6536, allocations: 19.73 kB / 0.8331 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.294e-05/0.6537, allocations: 23.11 kB / 0.8331 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of SimCode: time 8.22e-07/0.6537, allocations: 0 / 0.8331 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03755/0.6912, allocations: 6.172 MB / 0.8391 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.024/8.716, allocations: 5.062 kB / 0.8391 GB, free: 11.97 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --stepSize=69.12 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.770472314208746] Failed to read output from testmodel.py, exit status != 0: 8.787072950974107 8.813448074 8.182214977 Calling exit ...