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.001447/0.001447, 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.001449/0.001449, 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.9079/0.9079, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.767/1.767, allocations: 359 MB / 0.6052 GB, free: 11 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.522e-06/1.522e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.109e-05/4.261e-05, allocations: 9.594 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002605/0.002648, allocations: 1.947 MB / 0.789 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001819/0.004467, allocations: 1.842 MB / 0.7908 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.274e-05/0.004539, allocations: 0 / 0.7908 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000231/0.00477, allocations: 36.89 kB / 0.7908 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003596/0.00513, allocations: 128.6 kB / 0.791 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.005433, allocations: 171.5 kB / 0.7911 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002562/0.005689, allocations: 297.2 kB / 0.7914 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.005795, allocations: 25.89 kB / 0.7914 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.005926, allocations: 140.8 kB / 0.7916 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.006087, allocations: 95.73 kB / 0.7917 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.313e-05/0.00612, allocations: 24 kB / 0.7917 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.006288, allocations: 129.7 kB / 0.7918 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.893e-05/0.006377, allocations: 95.73 kB / 0.7919 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.337e-05/0.00645, allocations: 83.73 kB / 0.792 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003309/0.006781, allocations: 334.8 kB / 0.7923 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.006784, allocations: 0 / 0.7923 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.32e-07/0.006785, allocations: 0.6562 kB / 0.7923 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.00679, allocations: 0 / 0.7923 GB, free: 7.164 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.0006229/0.007413, allocations: 0.6144 MB / 0.7929 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.007449, allocations: 12.03 kB / 0.7929 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/0.007595, allocations: 62.19 kB / 0.793 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.007818, allocations: 231.5 kB / 0.7932 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.007834, allocations: 12.75 kB / 0.7932 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.007862, allocations: 20.38 kB / 0.7932 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.008151, allocations: 346.8 kB / 0.7936 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.008162, allocations: 7.922 kB / 0.7936 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/0.00818, allocations: 8 kB / 0.7936 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/0.008188, allocations: 4 kB / 0.7936 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005109/0.008699, allocations: 0.639 MB / 0.7942 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007386/0.009438, allocations: 0.5439 MB / 0.7947 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002698/0.009708, allocations: 186.2 kB / 0.7949 GB, free: 4.328 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.589e-05/0.009794, allocations: 65.98 kB / 0.795 GB, free: 4.262 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.513e-05/0.009829, allocations: 19.98 kB / 0.795 GB, free: 4.242 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000211/0.01004, allocations: 197.2 kB / 0.7952 GB, free: 4.023 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=36): time 1.553e-06/0.01004, allocations: 0 / 0.7952 GB, free: 4.023 MB / 0.7448 GB Notification: Performance of matching and sorting (n=36): time 0.0004175/0.01046, allocations: 279.7 kB / 0.7954 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.01052, allocations: 132.5 kB / 0.7956 GB, free: 3.586 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.01071, allocations: 320.9 kB / 0.7959 GB, free: 3.258 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.01074, allocations: 33.7 kB / 0.7959 GB, free: 3.219 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.188e-05/0.01082, allocations: 193.3 kB / 0.7961 GB, free: 3.027 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.838e-05/0.01089, allocations: 119 kB / 0.7962 GB, free: 2.91 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.083e-05/0.01096, allocations: 79.34 kB / 0.7963 GB, free: 2.824 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.01108, allocations: 0.5079 MB / 0.7968 GB, free: 2.305 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.422e-05/0.01116, allocations: 49.72 kB / 0.7968 GB, free: 2.258 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.01129, allocations: 179.8 kB / 0.797 GB, free: 2.047 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/0.01148, allocations: 133.5 kB / 0.7971 GB, free: 1.914 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.01149, allocations: 0 / 0.7971 GB, free: 1.914 MB / 0.7448 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002832/0.01177, allocations: 232.9 kB / 0.7974 GB, free: 1.68 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.01179, allocations: 4.656 kB / 0.7974 GB, free: 1.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.01179, allocations: 0 / 0.7974 GB, free: 1.676 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.01181, allocations: 4.875 kB / 0.7974 GB, free: 1.672 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.01197, allocations: 63.91 kB / 0.7974 GB, free: 1.609 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/0.01197, allocations: 2.188 kB / 0.7974 GB, free: 1.609 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.196e-05/0.01206, allocations: 35.75 kB / 0.7975 GB, free: 1.574 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.01207, allocations: 8 kB / 0.7975 GB, free: 1.566 MB / 0.7448 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.785e-05/0.01217, allocations: 180.5 kB / 0.7976 GB, free: 1.379 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.243e-05/0.01221, allocations: 40.34 kB / 0.7977 GB, free: 1.34 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003714/0.01258, allocations: 320.3 kB / 0.798 GB, free: 1.023 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.01259, allocations: 4 kB / 0.798 GB, free: 1.02 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.01259, allocations: 1.312 kB / 0.798 GB, free: 1.02 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.0126, allocations: 3.938 kB / 0.798 GB, free: 1.016 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.01279, allocations: 244.3 kB / 0.7982 GB, free: 0.7422 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.01279, allocations: 1.156 kB / 0.7982 GB, free: 0.7422 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.01289, allocations: 59.91 kB / 0.7983 GB, free: 0.6836 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.01289, allocations: 0 / 0.7983 GB, free: 0.6836 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.01291, allocations: 13.38 kB / 0.7983 GB, free: 0.6719 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.01291, allocations: 0 / 0.7983 GB, free: 0.6719 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.01291, allocations: 0 / 0.7983 GB, free: 0.6719 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/0.01319, allocations: 281.3 kB / 0.7986 GB, free: 384 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.05e-05/0.01327, allocations: 64.64 kB / 0.7986 GB, free: 320 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.0133, allocations: 15.98 kB / 0.7986 GB, free: 304 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.082e-05/0.01337, allocations: 16.83 kB / 0.7987 GB, free: 288 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.01342, allocations: 27.95 kB / 0.7987 GB, free: 260 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.01344, allocations: 9.281 kB / 0.7987 GB, free: 252 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001135/0.01355, allocations: 221.1 kB / 0.7989 GB, free: 28 kB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01355, allocations: 3.938 kB / 0.7989 GB, free: 24 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002556/0.01381, allocations: 96.36 kB / 0.799 GB, free: 15.93 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.000935/0.01474, allocations: 466.3 kB / 0.7994 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002426/0.01498, allocations: 164 kB / 0.7996 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.01499, allocations: 6.469 kB / 0.7996 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.01509, allocations: 111.3 kB / 0.7997 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.01531, allocations: 54.91 kB / 0.7998 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009109/0.01623, allocations: 490.2 kB / 0.8002 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.251e-05/0.01628, allocations: 94.12 kB / 0.8003 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001902/0.01647, allocations: 148.5 kB / 0.8005 GB, free: 14.56 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.446e-05/0.01654, allocations: 48.48 kB / 0.8005 GB, free: 14.51 MB / 0.7605 GB Notification: Performance of SimCode: time 8.21e-07/0.01654, allocations: 0 / 0.8005 GB, free: 14.51 MB / 0.7605 GB Notification: Performance of Templates: time 0.006293/0.02284, allocations: 3.994 MB / 0.8044 GB, free: 10.58 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: 5.221711476799101]