Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 77.95 kB / 20.66 MB, free: 3.832 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 165 kB / 24.05 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9006/0.9006, allocations: 177.1 MB / 204.5 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.206/2.206, allocations: 429.5 MB / 0.6743 GB, free: 3.914 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 0.8794 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.39e-05/3.626e-05, allocations: 2.312 kB / 0.8794 GB, free: 5.992 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.004184/0.00422, allocations: 1.95 MB / 0.8813 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002873/0.007093, allocations: 1.83 MB / 0.8831 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.007211, allocations: 0.6562 kB / 0.8831 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002758/0.007487, allocations: 39.7 kB / 0.8831 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004701/0.007957, allocations: 124.4 kB / 0.8833 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004702/0.008427, allocations: 172.4 kB / 0.8834 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003619/0.008789, allocations: 309.2 kB / 0.8837 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.008901, allocations: 18.33 kB / 0.8837 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02561/0.03452, allocations: 9.72 MB / 0.8932 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.03467, allocations: 79.83 kB / 0.8933 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.42e-05/0.03471, allocations: 20 kB / 0.8933 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001741/0.03488, allocations: 75.84 kB / 0.8934 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.379e-05/0.03496, allocations: 91.73 kB / 0.8935 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.821e-05/0.03504, allocations: 83.73 kB / 0.8936 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003676/0.03541, allocations: 270.9 kB / 0.8938 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.03541, allocations: 0 / 0.8938 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.403e-06/0.03541, allocations: 4 kB / 0.8938 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.03542, allocations: 0 / 0.8938 GB, free: 10.57 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0006051/0.03602, allocations: 0.6017 MB / 0.8944 GB, free: 9.934 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.03606, allocations: 8.031 kB / 0.8944 GB, free: 9.926 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/0.03622, allocations: 68.62 kB / 0.8945 GB, free: 9.859 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.03646, allocations: 258.1 kB / 0.8947 GB, free: 9.582 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.03648, allocations: 16.75 kB / 0.8947 GB, free: 9.566 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.0365, allocations: 20.38 kB / 0.8948 GB, free: 9.547 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.03674, allocations: 299.8 kB / 0.8951 GB, free: 9.207 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.03675, allocations: 3.938 kB / 0.8951 GB, free: 9.203 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.03677, allocations: 12 kB / 0.8951 GB, free: 9.191 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.03677, allocations: 4 kB / 0.8951 GB, free: 9.188 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004313/0.03721, allocations: 0.5648 MB / 0.8956 GB, free: 8.625 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006164/0.03782, allocations: 0.5036 MB / 0.8961 GB, free: 8.094 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/0.03803, allocations: 166.8 kB / 0.8963 GB, free: 7.914 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.514e-05/0.03809, allocations: 47.66 kB / 0.8963 GB, free: 7.863 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/0.03812, allocations: 19.98 kB / 0.8963 GB, free: 7.844 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001879/0.0383, allocations: 189.7 kB / 0.8965 GB, free: 7.633 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=36): time 1.583e-06/0.03831, allocations: 4 kB / 0.8965 GB, free: 7.629 MB / 0.8542 GB Notification: Performance of matching and sorting (n=36): time 0.0003189/0.03862, allocations: 258.1 kB / 0.8968 GB, free: 7.371 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.03867, allocations: 106.8 kB / 0.8969 GB, free: 7.242 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.03882, allocations: 276.2 kB / 0.8971 GB, free: 6.953 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.03884, allocations: 33.7 kB / 0.8972 GB, free: 6.914 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.633e-05/0.03892, allocations: 195.7 kB / 0.8974 GB, free: 6.719 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.14e-05/0.03899, allocations: 130.9 kB / 0.8975 GB, free: 6.59 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.612e-05/0.03905, allocations: 75.27 kB / 0.8975 GB, free: 6.508 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.03918, allocations: 0.5273 MB / 0.8981 GB, free: 5.969 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.594e-05/0.03923, allocations: 31.97 kB / 0.8981 GB, free: 5.938 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.872e-05/0.03932, allocations: 128 kB / 0.8982 GB, free: 5.789 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.03945, allocations: 132.3 kB / 0.8983 GB, free: 5.656 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.03945, allocations: 0 / 0.8983 GB, free: 5.656 MB / 0.8542 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002069/0.03966, allocations: 205.2 kB / 0.8985 GB, free: 5.449 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.03967, allocations: 7.984 kB / 0.8985 GB, free: 5.441 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.03968, allocations: 0 / 0.8985 GB, free: 5.441 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.03969, allocations: 8.031 kB / 0.8986 GB, free: 5.434 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.03982, allocations: 63.91 kB / 0.8986 GB, free: 5.371 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/0.03983, allocations: 0 / 0.8986 GB, free: 5.371 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.059e-05/0.0399, allocations: 23.84 kB / 0.8986 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.03991, allocations: 15.92 kB / 0.8987 GB, free: 5.332 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conTim.k,$PRE.conTim.k,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 (38): * Single equations (assignments): 38 * 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 9.224e-05/0.04, allocations: 172.5 kB / 0.8988 GB, free: 5.152 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.075e-05/0.04004, allocations: 43.81 kB / 0.8989 GB, free: 5.109 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003212/0.04037, allocations: 292.8 kB / 0.8991 GB, free: 4.816 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.04037, allocations: 4 kB / 0.8991 GB, free: 4.812 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.04037, allocations: 3.938 kB / 0.8991 GB, free: 4.809 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.04038, allocations: 3.984 kB / 0.8991 GB, free: 4.805 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.04054, allocations: 209 kB / 0.8993 GB, free: 4.574 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.04054, allocations: 0 / 0.8993 GB, free: 4.574 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.04064, allocations: 55.97 kB / 0.8994 GB, free: 4.52 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.04065, allocations: 0 / 0.8994 GB, free: 4.52 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.04066, allocations: 8 kB / 0.8994 GB, free: 4.512 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.04066, allocations: 7.938 kB / 0.8994 GB, free: 4.504 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.614e-06/0.04066, allocations: 0 / 0.8994 GB, free: 4.504 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.04091, allocations: 266.6 kB / 0.8997 GB, free: 4.223 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.738e-05/0.04099, allocations: 71.62 kB / 0.8997 GB, free: 4.152 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/0.04102, allocations: 8 kB / 0.8997 GB, free: 4.145 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.237e-05/0.04109, allocations: 15.98 kB / 0.8998 GB, free: 4.129 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.908e-05/0.04114, allocations: 31.95 kB / 0.8998 GB, free: 4.098 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.04115, allocations: 7.984 kB / 0.8998 GB, free: 4.09 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.926e-05/0.04124, allocations: 193.1 kB / 0.9 GB, free: 3.902 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.1e-08/0.04124, allocations: 0 / 0.9 GB, free: 3.902 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002027/0.04144, allocations: 56 kB / 0.9 GB, free: 3.848 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007137/0.04216, allocations: 361.4 kB / 0.9004 GB, free: 3.598 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001997/0.04236, allocations: 155.2 kB / 0.9005 GB, free: 3.441 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.04236, allocations: 4 kB / 0.9005 GB, free: 3.438 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.745e-05/0.04245, allocations: 95.48 kB / 0.9006 GB, free: 3.34 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.04266, allocations: 67.55 kB / 0.9007 GB, free: 3.277 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007745/0.04343, allocations: 491.5 kB / 0.9012 GB, free: 2.773 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.011e-05/0.04348, allocations: 94.12 kB / 0.9012 GB, free: 2.66 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001357/0.04362, allocations: 70.97 kB / 0.9013 GB, free: 2.59 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.0438, allocations: 174.1 kB / 0.9015 GB, free: 2.418 MB / 0.8542 GB Notification: Performance of SimCode: time 5.21e-07/0.0438, allocations: 0 / 0.9015 GB, free: 2.418 MB / 0.8542 GB Notification: Performance of Templates: time 0.005817/0.04961, allocations: 3.762 MB / 0.9052 GB, free: 14.68 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.730422774795443]