Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.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.001387/0.001387, allocations: 109.7 kB / 17.54 MB, free: 4.641 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.00139/0.00139, allocations: 190.6 kB / 20.71 MB, free: 1.484 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.297/1.297, allocations: 225.6 MB / 249.3 MB, free: 3.332 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.511/2.511, allocations: 476.7 MB / 0.7628 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_11_Buildings_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_11_Buildings_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001771/0.001771, allocations: 63.91 kB / 1.107 GB, free: 5.199 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7717/0.7735, allocations: 168.7 MB / 1.271 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002076/0.7756, allocations: 1.535 MB / 1.273 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.7766, allocations: 0.5369 MB / 1.273 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.768e-05/0.7766, allocations: 0.6875 kB / 1.273 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 8.228e-05/0.7767, allocations: 14.64 kB / 1.273 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.105e-05/0.7768, allocations: 34.94 kB / 1.273 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000606/0.7774, allocations: 309.8 kB / 1.274 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004039/0.7778, allocations: 481.4 kB / 1.274 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.519e-05/0.7779, allocations: 5.156 kB / 1.274 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003184/0.7782, allocations: 278 kB / 1.274 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002519/0.7784, allocations: 154.7 kB / 1.275 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.154e-05/0.7785, allocations: 26.59 kB / 1.275 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.657e-05/0.7786, allocations: 26.72 kB / 1.275 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.7787, allocations: 116.2 kB / 1.275 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.7789, allocations: 183.2 kB / 1.275 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000352/0.7792, allocations: 432.2 kB / 1.275 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.7792, allocations: 0.6875 kB / 1.275 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7792, allocations: 0 / 1.275 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.75e-06/0.7792, allocations: 0.9375 kB / 1.275 GB, free: 5.492 MB / 0.9981 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.0009278/0.7802, allocations: 0.872 MB / 1.276 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.7802, allocations: 9.062 kB / 1.276 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.049e-05/0.7802, allocations: 40.17 kB / 1.276 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.7803, allocations: 52.05 kB / 1.276 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.7806, allocations: 317.2 kB / 1.277 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.542e-05/0.7807, allocations: 17.19 kB / 1.277 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.452e-05/0.7807, allocations: 29.27 kB / 1.277 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009314/0.7817, allocations: 219.1 kB / 1.277 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.7817, allocations: 5.766 kB / 1.277 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.7817, allocations: 1.812 kB / 1.277 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.7817, allocations: 1.375 kB / 1.277 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007441/0.7824, allocations: 96.42 kB / 1.277 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003308/0.7828, allocations: 392.7 kB / 1.277 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009898/0.7838, allocations: 167.9 kB / 1.277 GB, free: 4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007304/0.7845, allocations: 107.1 kB / 1.278 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.7845, allocations: 2.688 kB / 1.278 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009146/0.7854, allocations: 221.3 kB / 1.278 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.7854, allocations: 0 / 1.278 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.002478/0.7879, allocations: 490.3 kB / 1.278 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.7879, allocations: 66.59 kB / 1.278 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003811/0.7883, allocations: 411.3 kB / 1.279 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.89e-05/0.7884, allocations: 43.34 kB / 1.279 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.398e-05/0.7884, allocations: 91.02 kB / 1.279 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.7885, allocations: 41.86 kB / 1.279 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001887/0.7887, allocations: 127.1 kB / 1.279 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.055e-05/0.7887, allocations: 322.4 kB / 1.279 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002491/0.7889, allocations: 119.8 kB / 1.279 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002641/0.7892, allocations: 174.3 kB / 1.28 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003074/0.7895, allocations: 280.9 kB / 1.28 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.7895, allocations: 0.875 kB / 1.28 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007023/0.7902, allocations: 499.2 kB / 1.28 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.729e-05/0.7903, allocations: 85.73 kB / 1.28 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.7903, allocations: 1.938 kB / 1.28 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.7903, allocations: 2.656 kB / 1.28 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.7904, allocations: 30.61 kB / 1.28 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.7905, allocations: 5.797 kB / 1.28 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004652/0.7909, allocations: 59.48 kB / 1.281 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.247e-05/0.791, allocations: 56.53 kB / 1.281 GB, free: 2.336 MB / 0.9981 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 (calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.daySampleTrigger,$whenCondition1,calendarTime2016.hourSampleTrigger,$whenCondition2,calendarTime2016.epochLastMonth,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.yearIndex,$PRE.calendarTime2016.yearIndex,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,$PRE.calendarTime2016.weekDay,calendarTime2016.hour,$PRE.calendarTime2016.hour,calendarTime2016.day,$PRE.calendarTime2016.day,calendarTime2016.month,$PRE.calendarTime2016.month,calendarTime2016.year,$PRE.calendarTime2016.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.0001747/0.7912, allocations: 207.4 kB / 1.281 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.213e-05/0.7912, allocations: 44.97 kB / 1.281 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.517e-05/0.7913, allocations: 43.19 kB / 1.281 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.7913, allocations: 0.6562 kB / 1.281 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.7913, allocations: 0 / 1.281 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.7913, allocations: 0.7031 kB / 1.281 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001992/0.7933, allocations: 0.752 MB / 1.282 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.7933, allocations: 0 / 1.282 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.214e-05/0.7933, allocations: 5.656 kB / 1.282 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.7933, allocations: 0.7031 kB / 1.282 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.56e-05/0.7933, allocations: 22.66 kB / 1.282 GB, free: 1.727 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.7933, allocations: 0 / 1.282 GB, free: 1.727 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.7933, allocations: 0.9375 kB / 1.282 GB, free: 1.727 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.795, allocations: 477.9 kB / 1.282 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001955/0.7952, allocations: 203.7 kB / 1.282 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.336e-05/0.7952, allocations: 11.95 kB / 1.282 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004426/0.7957, allocations: 32.98 kB / 1.282 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.545e-05/0.7957, allocations: 10.7 kB / 1.282 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.87e-05/0.7958, allocations: 59.17 kB / 1.282 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002351/0.796, allocations: 294.2 kB / 1.283 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.796, allocations: 0 / 1.283 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003308/0.7963, allocations: 65.14 kB / 1.283 GB, free: 1.227 MB / 0.9981 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 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.yearIndex,calendarTime2016.year,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.firstHourSampling,calendarTime2016.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.001755/0.7981, allocations: 1.022 MB / 1.284 GB, free: 492 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001118/0.7992, allocations: 408.7 kB / 1.284 GB, free: 292 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.7992, allocations: 0 / 1.284 GB, free: 292 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007102/0.7999, allocations: 116.6 kB / 1.284 GB, free: 268 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.8002, allocations: 26.81 kB / 1.284 GB, free: 256 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003946/0.8042, allocations: 2.809 MB / 1.287 GB, free: 14.37 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004158/0.8046, allocations: 0.7673 MB / 1.288 GB, free: 13.67 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.797e-05/0.8047, allocations: 12.22 kB / 1.288 GB, free: 13.67 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.856e-05/0.8047, allocations: 29.58 kB / 1.288 GB, free: 13.65 MB / 1.014 GB Notification: Performance of SimCode: time 3.91e-07/0.8047, allocations: 0 / 1.288 GB, free: 13.65 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02803/0.8327, allocations: 6.243 MB / 1.294 GB, free: 12.41 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.021/7.854, allocations: 0 / 1.294 GB, free: 12.41 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Time_Examples_CalendarTime_fmu --startTime=0 --stopTime=1e+08 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Time_Examples_CalendarTime.fmu > Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Examples_CalendarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.987861568999506]