Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 107.3 kB / 16.36 MB, free: 5.824 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.001052/0.001052, allocations: 189.7 kB / 17.29 MB, free: 5.48 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.547/2.547, allocations: 437.1 MB / 0.7112 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 60.41 kB / 0.8707 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2838, allocations: 151.6 MB / 1.019 GB, free: 9.852 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.004546/0.2884, allocations: 1.868 MB / 1.021 GB, free: 7.965 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002621/0.2911, allocations: 1.592 MB / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.433e-05/0.2912, allocations: 0 / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002381/0.2915, allocations: 27.78 kB / 1.022 GB, free: 6.336 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003118/0.2919, allocations: 80.3 kB / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004419/0.2923, allocations: 172.2 kB / 1.022 GB, free: 6.094 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003248/0.2926, allocations: 285.4 kB / 1.023 GB, free: 5.816 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.2928, allocations: 29.09 kB / 1.023 GB, free: 5.789 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.2929, allocations: 99.75 kB / 1.023 GB, free: 5.691 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002213/0.2931, allocations: 107.6 kB / 1.023 GB, free: 5.586 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.67e-05/0.2932, allocations: 20 kB / 1.023 GB, free: 5.566 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001575/0.2933, allocations: 87.95 kB / 1.023 GB, free: 5.48 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.2934, allocations: 83.8 kB / 1.023 GB, free: 5.398 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.2936, allocations: 123.3 kB / 1.023 GB, free: 5.277 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.00039/0.294, allocations: 338.8 kB / 1.024 GB, free: 4.945 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.294, allocations: 0 / 1.024 GB, free: 4.945 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.453e-06/0.294, allocations: 0 / 1.024 GB, free: 4.945 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.294, allocations: 0 / 1.024 GB, free: 4.945 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007887/0.2948, allocations: 0.5617 MB / 1.024 GB, free: 4.332 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.2948, allocations: 8.625 kB / 1.024 GB, free: 4.324 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001813/0.295, allocations: 32.56 kB / 1.024 GB, free: 4.293 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003157/0.2954, allocations: 274.7 kB / 1.024 GB, free: 3.988 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.2954, allocations: 16.38 kB / 1.024 GB, free: 3.973 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.978e-05/0.2954, allocations: 24.12 kB / 1.024 GB, free: 3.949 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000369/0.2958, allocations: 244.8 kB / 1.025 GB, free: 3.691 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.2958, allocations: 0 / 1.025 GB, free: 3.691 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/0.2958, allocations: 4 kB / 1.025 GB, free: 3.688 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.2958, allocations: 8 kB / 1.025 GB, free: 3.68 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008381/0.2967, allocations: 0.7451 MB / 1.025 GB, free: 2.934 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009932/0.2977, allocations: 0.637 MB / 1.026 GB, free: 2.242 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004868/0.2982, allocations: 309.9 kB / 1.026 GB, free: 1.934 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.2984, allocations: 109.4 kB / 1.026 GB, free: 1.824 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.691e-05/0.2984, allocations: 20.25 kB / 1.026 GB, free: 1.805 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000338/0.2988, allocations: 181 kB / 1.027 GB, free: 1.617 MB / 0.795 GB Notification: Performance of pre-optimization done (n=35): time 1.853e-06/0.2988, allocations: 0 / 1.027 GB, free: 1.617 MB / 0.795 GB Notification: Performance of matching and sorting (n=35): time 0.0006846/0.2995, allocations: 381.3 kB / 1.027 GB, free: 1.238 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.141e-05/0.2995, allocations: 136.5 kB / 1.027 GB, free: 1.074 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002735/0.2998, allocations: 309 kB / 1.027 GB, free: 0.7656 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.2999, allocations: 33.7 kB / 1.027 GB, free: 0.7266 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.351e-05/0.2999, allocations: 132.7 kB / 1.028 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.836e-05/0.3, allocations: 122.2 kB / 1.028 GB, free: 484 kB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.3002, allocations: 65.69 kB / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.3003, allocations: 338.8 kB / 1.028 GB, free: 64 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.3004, allocations: 87.95 kB / 1.028 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/0.3006, allocations: 123.2 kB / 1.028 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003216/0.301, allocations: 218.3 kB / 1.028 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.301, allocations: 0 / 1.028 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004313/0.3014, allocations: 277.1 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.3014, allocations: 4 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3015, allocations: 3.938 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.3015, allocations: 7.938 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.3017, allocations: 63.97 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.3017, allocations: 0 / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.3019, allocations: 27.77 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.79e-05/0.3019, allocations: 27.86 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0001604/0.3021, allocations: 158.5 kB / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.164e-05/0.3021, allocations: 23.72 kB / 1.029 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006932/0.3028, allocations: 392.7 kB / 1.029 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.3029, allocations: 4 kB / 1.029 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.3029, allocations: 4 kB / 1.029 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.3029, allocations: 3.984 kB / 1.029 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003656/0.3032, allocations: 341.2 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3033, allocations: 8 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.3034, allocations: 55.91 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.3035, allocations: 0 / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/0.3035, allocations: 19.97 kB / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.634e-06/0.3035, allocations: 0 / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.3035, allocations: 3.984 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004762/0.304, allocations: 317.6 kB / 1.03 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001733/0.3042, allocations: 152.6 kB / 1.03 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.207e-05/0.3042, allocations: 19.88 kB / 1.03 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.3044, allocations: 26.23 kB / 1.03 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.522e-05/0.3045, allocations: 23.95 kB / 1.03 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.31e-05/0.3045, allocations: 12 kB / 1.03 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002258/0.3047, allocations: 240.4 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3048, allocations: 0 / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000335/0.3051, allocations: 67.98 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001026/0.3061, allocations: 407.5 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004334/0.3066, allocations: 228.3 kB / 1.031 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.3066, allocations: 0 / 1.031 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002007/0.3068, allocations: 136.3 kB / 1.031 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.3071, allocations: 47.05 kB / 1.031 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008201/0.308, allocations: 0.5219 MB / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.3083, allocations: 0.7619 MB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003157/0.3086, allocations: 142.9 kB / 1.033 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.503e-05/0.3087, allocations: 47.41 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.3087, allocations: 0 / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of Templates: time 0.007311/0.316, allocations: 3.4 MB / 1.036 GB, free: 7.75 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches