Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001467/0.001467, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001933/0.001933, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 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.9328/0.9328, allocations: 177.1 MB / 204.2 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.697/1.697, allocations: 359 MB / 0.6052 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.194e-05/2.346e-05, allocations: 4.281 kB / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002607/0.002631, allocations: 1.939 MB / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001704/0.004335, allocations: 1.847 MB / 0.7908 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.107e-05/0.004416, allocations: 3.938 kB / 0.7908 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001954/0.004611, allocations: 27.72 kB / 0.7908 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003497/0.004961, allocations: 132.8 kB / 0.791 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003023/0.005263, allocations: 167.4 kB / 0.7911 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002633/0.005527, allocations: 309.2 kB / 0.7914 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.131e-05/0.005618, allocations: 26.33 kB / 0.7915 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02667/0.03229, allocations: 10.48 MB / 0.8017 GB, free: 1.227 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.03244, allocations: 87.77 kB / 0.8018 GB, free: 1.141 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.514e-05/0.03247, allocations: 20 kB / 0.8018 GB, free: 1.121 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.03263, allocations: 63.92 kB / 0.8019 GB, free: 1.059 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.18e-05/0.03271, allocations: 95.72 kB / 0.8019 GB, free: 0.9648 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.135e-05/0.03279, allocations: 79.75 kB / 0.802 GB, free: 0.8867 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003793/0.03317, allocations: 278.8 kB / 0.8023 GB, free: 0.6133 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.03318, allocations: 0 / 0.8023 GB, free: 0.6133 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.382e-06/0.03318, allocations: 0 / 0.8023 GB, free: 0.6133 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.03319, allocations: 0 / 0.8023 GB, free: 0.6133 MB / 0.7448 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.0006387/0.03382, allocations: 0.6019 MB / 0.8029 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.03386, allocations: 12.03 kB / 0.8029 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001579/0.03402, allocations: 52.69 kB / 0.8029 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.03427, allocations: 258.2 kB / 0.8032 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.03429, allocations: 20.69 kB / 0.8032 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/0.03432, allocations: 16.38 kB / 0.8032 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002785/0.0346, allocations: 315.8 kB / 0.8035 GB, free: 15.24 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.03461, allocations: 3.938 kB / 0.8035 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.03462, allocations: 12 kB / 0.8035 GB, free: 15.22 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.03463, allocations: 4 kB / 0.8035 GB, free: 15.22 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004686/0.0351, allocations: 0.6312 MB / 0.8042 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006838/0.03578, allocations: 0.5499 MB / 0.8047 GB, free: 14 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002627/0.03605, allocations: 182.3 kB / 0.8049 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.097e-05/0.03613, allocations: 71.45 kB / 0.8049 GB, free: 13.74 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.774e-05/0.03617, allocations: 15.98 kB / 0.8049 GB, free: 13.72 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002038/0.03637, allocations: 193.2 kB / 0.8051 GB, free: 13.51 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=36): time 2.204e-06/0.03637, allocations: 0 / 0.8051 GB, free: 13.51 MB / 0.7605 GB Notification: Performance of matching and sorting (n=36): time 0.0003964/0.03677, allocations: 279.8 kB / 0.8054 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.03682, allocations: 114.8 kB / 0.8055 GB, free: 13.09 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.03701, allocations: 284.3 kB / 0.8058 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.03703, allocations: 33.7 kB / 0.8058 GB, free: 12.76 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 7.358e-05/0.03711, allocations: 183.7 kB / 0.806 GB, free: 12.58 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.822e-05/0.03717, allocations: 130.9 kB / 0.8061 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.221e-05/0.03725, allocations: 75.34 kB / 0.8062 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.03743, allocations: 0.5157 MB / 0.8067 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.136e-05/0.0375, allocations: 39.97 kB / 0.8067 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.03761, allocations: 142.4 kB / 0.8069 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.03778, allocations: 137.6 kB / 0.807 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.03778, allocations: 0 / 0.807 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002472/0.03802, allocations: 228.9 kB / 0.8072 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.03804, allocations: 15.98 kB / 0.8072 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.03804, allocations: 0 / 0.8072 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.03806, allocations: 0 / 0.8072 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.03821, allocations: 67.91 kB / 0.8073 GB, free: 11.19 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.03821, allocations: 0 / 0.8073 GB, free: 11.19 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.965e-05/0.03828, allocations: 27.81 kB / 0.8073 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.0383, allocations: 19.98 kB / 0.8073 GB, free: 11.14 MB / 0.7605 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.154e-05/0.03839, allocations: 168.5 kB / 0.8075 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.265e-05/0.03844, allocations: 43.81 kB / 0.8075 GB, free: 10.92 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003573/0.03879, allocations: 308.9 kB / 0.8078 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.0388, allocations: 11.94 kB / 0.8078 GB, free: 10.6 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.0388, allocations: 4 kB / 0.8078 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.03881, allocations: 7.922 kB / 0.8079 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.03898, allocations: 236.4 kB / 0.8081 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.03898, allocations: 4 kB / 0.8081 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.03908, allocations: 59.91 kB / 0.8081 GB, free: 10.26 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.03909, allocations: 4 kB / 0.8081 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001714/0.03926, allocations: 11.98 kB / 0.8082 GB, free: 10.24 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.03926, allocations: 0 / 0.8082 GB, free: 10.24 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.03926, allocations: 0 / 0.8082 GB, free: 10.24 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.03953, allocations: 281.2 kB / 0.8084 GB, free: 9.945 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 7.938e-05/0.03961, allocations: 75.66 kB / 0.8085 GB, free: 9.871 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.02e-05/0.03964, allocations: 12 kB / 0.8085 GB, free: 9.859 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.123e-05/0.03971, allocations: 15.98 kB / 0.8085 GB, free: 9.844 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-05/0.03976, allocations: 23.95 kB / 0.8085 GB, free: 9.82 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.03977, allocations: 19.98 kB / 0.8086 GB, free: 9.801 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 9.293e-05/0.03987, allocations: 189.1 kB / 0.8087 GB, free: 9.613 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.03987, allocations: 0 / 0.8087 GB, free: 9.613 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0001931/0.04006, allocations: 71.88 kB / 0.8088 GB, free: 9.543 MB / 0.7605 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.0007257/0.04079, allocations: 354.3 kB / 0.8092 GB, free: 9.309 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002367/0.04102, allocations: 164 kB / 0.8093 GB, free: 9.145 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.04102, allocations: 0 / 0.8093 GB, free: 9.145 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.04113, allocations: 103.2 kB / 0.8094 GB, free: 9.039 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.04135, allocations: 60.44 kB / 0.8095 GB, free: 8.98 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008592/0.04221, allocations: 487 kB / 0.8099 GB, free: 8.48 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.159e-05/0.04226, allocations: 98.12 kB / 0.81 GB, free: 8.367 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001873/0.04245, allocations: 138.9 kB / 0.8102 GB, free: 8.23 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.309e-05/0.04252, allocations: 56.41 kB / 0.8102 GB, free: 8.176 MB / 0.7605 GB Notification: Performance of SimCode: time 7.91e-07/0.04252, allocations: 0 / 0.8102 GB, free: 8.176 MB / 0.7605 GB Notification: Performance of Templates: time 0.005817/0.04834, allocations: 3.611 MB / 0.8137 GB, free: 4.617 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.966304000932723]