Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.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.001181/0.001181, allocations: 110 kB / 18.93 MB, free: 2.945 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.001182/0.001182, allocations: 189.8 kB / 22.23 MB, free: 5.16 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.282/1.282, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.844/2.844, allocations: 495.7 MB / 0.7831 GB, free: 33.42 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weeSchFil.y.1.|weeSchFil.y.2.|weeSchFil.y.3.|weeSchFil.y.4.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weeSchFil.y.1.|weeSchFil.y.2.|weeSchFil.y.3.|weeSchFil.y.4.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 67.22 kB / 1.137 GB, free: 33.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2921, allocations: 173.6 MB / 1.307 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003044/0.2951, allocations: 1.512 MB / 1.308 GB, free: 396 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001813/0.2969, allocations: 1.2 MB / 1.31 GB, free: 15.18 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.152e-05/0.297, allocations: 7.938 kB / 1.31 GB, free: 15.17 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000183/0.2972, allocations: 11.86 kB / 1.31 GB, free: 15.16 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002114/0.2974, allocations: 43.78 kB / 1.31 GB, free: 15.12 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002084/0.2976, allocations: 63.41 kB / 1.31 GB, free: 15.06 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000214/0.2978, allocations: 143.6 kB / 1.31 GB, free: 14.92 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.298, allocations: 41.22 kB / 1.31 GB, free: 14.88 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.2981, allocations: 87.69 kB / 1.31 GB, free: 14.79 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.2983, allocations: 51.72 kB / 1.31 GB, free: 14.74 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.723e-05/0.2983, allocations: 12 kB / 1.31 GB, free: 14.73 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.484e-05/0.2984, allocations: 35.97 kB / 1.31 GB, free: 14.69 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.33e-05/0.2985, allocations: 39.89 kB / 1.31 GB, free: 14.65 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.2986, allocations: 79.52 kB / 1.31 GB, free: 14.57 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000311/0.2989, allocations: 207.2 kB / 1.31 GB, free: 14.37 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2989, allocations: 0 / 1.31 GB, free: 14.37 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2989, allocations: 0 / 1.31 GB, free: 14.37 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.2989, allocations: 0 / 1.31 GB, free: 14.37 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007229/0.2996, allocations: 417.4 kB / 1.311 GB, free: 13.93 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.2997, allocations: 12.03 kB / 1.311 GB, free: 13.92 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.98e-05/0.2998, allocations: 24.78 kB / 1.311 GB, free: 13.9 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003175/0.3001, allocations: 201.9 kB / 1.311 GB, free: 13.68 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001516/0.3002, allocations: 123.4 kB / 1.311 GB, free: 13.53 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.3003, allocations: 8.375 kB / 1.311 GB, free: 13.52 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003591/0.3006, allocations: 164.2 kB / 1.311 GB, free: 13.36 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.3006, allocations: 0 / 1.311 GB, free: 13.36 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.241e-05/0.3006, allocations: 4 kB / 1.311 GB, free: 13.36 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.013e-05/0.3007, allocations: 11.98 kB / 1.311 GB, free: 13.34 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.19e-05/0.3008, allocations: 39.97 kB / 1.311 GB, free: 13.3 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.3019, allocations: 435.5 kB / 1.312 GB, free: 12.84 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.991e-05/0.302, allocations: 38.5 kB / 1.312 GB, free: 12.79 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.018e-05/0.302, allocations: 24.78 kB / 1.312 GB, free: 12.76 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.302, allocations: 12 kB / 1.312 GB, free: 12.75 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.3021, allocations: 30.56 kB / 1.312 GB, free: 12.71 MB / 1.014 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.3021, allocations: 4 kB / 1.312 GB, free: 12.71 MB / 1.014 GB Notification: Performance of matching and sorting (n=8): time 0.0002837/0.3023, allocations: 101.6 kB / 1.312 GB, free: 12.6 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.3024, allocations: 51.41 kB / 1.312 GB, free: 12.54 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002294/0.3026, allocations: 223.7 kB / 1.312 GB, free: 12.31 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.48e-05/0.3026, allocations: 25.7 kB / 1.312 GB, free: 12.28 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.833e-05/0.3027, allocations: 132.3 kB / 1.312 GB, free: 12.14 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.816e-05/0.3028, allocations: 31.78 kB / 1.312 GB, free: 12.11 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.936e-05/0.3028, allocations: 33.64 kB / 1.312 GB, free: 12.07 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.3029, allocations: 326.8 kB / 1.313 GB, free: 11.75 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.059e-05/0.303, allocations: 23.98 kB / 1.313 GB, free: 11.72 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.3031, allocations: 102.3 kB / 1.313 GB, free: 11.59 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.3033, allocations: 142.1 kB / 1.313 GB, free: 11.41 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.3033, allocations: 4 kB / 1.313 GB, free: 11.41 MB / 1.014 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002576/0.3036, allocations: 153.3 kB / 1.313 GB, free: 11.25 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.3036, allocations: 4 kB / 1.313 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.3036, allocations: 4 kB / 1.313 GB, free: 11.24 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.3036, allocations: 4 kB / 1.313 GB, free: 11.24 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.3037, allocations: 23.98 kB / 1.313 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.62e-05/0.3037, allocations: 12.25 kB / 1.313 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.648e-05/0.3038, allocations: 15.89 kB / 1.313 GB, free: 11.19 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.3038, allocations: 11.98 kB / 1.313 GB, free: 11.18 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.0001319/0.3039, allocations: 141.9 kB / 1.313 GB, free: 11.03 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.983e-05/0.304, allocations: 11.91 kB / 1.313 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002169/0.3042, allocations: 131 kB / 1.313 GB, free: 10.88 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3042, allocations: 0 / 1.313 GB, free: 10.88 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.3042, allocations: 3.938 kB / 1.313 GB, free: 10.88 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3042, allocations: 0 / 1.313 GB, free: 10.88 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/0.3045, allocations: 204.6 kB / 1.314 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3045, allocations: 4 kB / 1.314 GB, free: 10.63 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.886e-05/0.3045, allocations: 15.98 kB / 1.314 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3045, allocations: 0 / 1.314 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.3045, allocations: 4 kB / 1.314 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3045, allocations: 0 / 1.314 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.3045, allocations: 3.938 kB / 1.314 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.3047, allocations: 191.3 kB / 1.314 GB, free: 10.41 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 2.42e-05/0.3048, allocations: 15.91 kB / 1.314 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.3048, allocations: 8 kB / 1.314 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.305, allocations: 19.97 kB / 1.314 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.93e-05/0.305, allocations: 7.938 kB / 1.314 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/0.3051, allocations: 15.97 kB / 1.314 GB, free: 10.34 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000144/0.3052, allocations: 161.5 kB / 1.314 GB, free: 10.18 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.3052, allocations: 4 kB / 1.314 GB, free: 10.18 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002886/0.3055, allocations: 23.94 kB / 1.314 GB, free: 10.16 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002465/0.3057, allocations: 126.9 kB / 1.314 GB, free: 10.03 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001699/0.3059, allocations: 71.83 kB / 1.314 GB, free: 9.957 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3059, allocations: 0.75 kB / 1.314 GB, free: 9.957 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.304e-05/0.306, allocations: 31.92 kB / 1.314 GB, free: 9.926 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.3063, allocations: 18.52 kB / 1.314 GB, free: 9.91 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005076/0.3068, allocations: 294.6 kB / 1.315 GB, free: 9.598 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.3071, allocations: 0.7314 MB / 1.315 GB, free: 8.84 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001212/0.3072, allocations: 56.8 kB / 1.315 GB, free: 8.785 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.724e-05/0.3072, allocations: 19.44 kB / 1.315 GB, free: 8.766 MB / 1.014 GB Notification: Performance of SimCode: time 9.82e-07/0.3072, allocations: 0 / 1.315 GB, free: 8.766 MB / 1.014 GB Notification: Performance of Templates: time 0.005648/0.3129, allocations: 2.439 MB / 1.318 GB, free: 6.344 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Files_Examples_WeeklySchedule.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.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: 7.76475609652698]