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.001121/0.001121, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001209/0.001209, allocations: 173.3 kB / 23.49 MB, free: 1.062 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 1.014/1.014, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.115/2.115, allocations: 429.5 MB / 0.6736 GB, free: 4.066 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 1.754e-06/1.754e-06, allocations: 0 / 0.8782 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.595e-05/2.77e-05, allocations: 10.95 kB / 0.8782 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002557/0.002585, allocations: 1.949 MB / 0.8801 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002189/0.004774, allocations: 1.838 MB / 0.8819 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.671e-05/0.004851, allocations: 0 / 0.8819 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002275/0.005078, allocations: 31.72 kB / 0.8819 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000333/0.005411, allocations: 133.8 kB / 0.8821 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003033/0.005715, allocations: 167.5 kB / 0.8822 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002624/0.005977, allocations: 305.2 kB / 0.8825 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.006089, allocations: 25.3 kB / 0.8825 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.00622, allocations: 139.8 kB / 0.8827 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.006374, allocations: 93.83 kB / 0.8828 GB, free: 2 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.849e-05/0.006402, allocations: 24.72 kB / 0.8828 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000184/0.006586, allocations: 131.8 kB / 0.8829 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.801e-05/0.006674, allocations: 97.38 kB / 0.883 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.323e-05/0.006757, allocations: 79.75 kB / 0.8831 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003592/0.007117, allocations: 334.8 kB / 0.8834 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.007121, allocations: 0 / 0.8834 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.713e-06/0.007122, allocations: 1.344 kB / 0.8834 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.007128, allocations: 0 / 0.8834 GB, free: 1.348 MB / 0.8386 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.0006288/0.007757, allocations: 0.6172 MB / 0.884 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.007793, allocations: 16.03 kB / 0.884 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/0.007954, allocations: 60.58 kB / 0.8841 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.008174, allocations: 223.6 kB / 0.8843 GB, free: 384 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.00819, allocations: 16.69 kB / 0.8843 GB, free: 368 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.008217, allocations: 20.38 kB / 0.8843 GB, free: 348 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003091/0.008526, allocations: 349.2 kB / 0.8847 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.008534, allocations: 3.938 kB / 0.8847 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.008554, allocations: 11.94 kB / 0.8847 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.008562, allocations: 4 kB / 0.8847 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004967/0.009059, allocations: 0.6351 MB / 0.8853 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007093/0.009768, allocations: 0.5499 MB / 0.8858 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002797/0.01005, allocations: 178.3 kB / 0.886 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.903e-05/0.01014, allocations: 63.64 kB / 0.8861 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/0.01017, allocations: 19.98 kB / 0.8861 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002204/0.01039, allocations: 205.6 kB / 0.8863 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=36): time 2.394e-06/0.01039, allocations: 0 / 0.8863 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=36): time 0.0004165/0.01081, allocations: 274.2 kB / 0.8865 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.407e-05/0.01087, allocations: 136.5 kB / 0.8867 GB, free: 13.76 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/0.01109, allocations: 320.3 kB / 0.887 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.01112, allocations: 33.7 kB / 0.887 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.076e-05/0.0112, allocations: 195.7 kB / 0.8872 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.678e-05/0.01127, allocations: 115 kB / 0.8873 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.341e-05/0.01134, allocations: 83.33 kB / 0.8874 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002862/0.01163, allocations: 0.5079 MB / 0.8879 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.621e-05/0.0117, allocations: 47.97 kB / 0.8879 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.01184, allocations: 184.4 kB / 0.8881 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.01202, allocations: 133 kB / 0.8882 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.01202, allocations: 0 / 0.8882 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002669/0.01229, allocations: 229.2 kB / 0.8884 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.0123, allocations: 8 kB / 0.8885 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.01231, allocations: 0 / 0.8885 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.01232, allocations: 4 kB / 0.8885 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.01248, allocations: 63.91 kB / 0.8885 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.01249, allocations: 0 / 0.8885 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.94e-05/0.01257, allocations: 39.7 kB / 0.8886 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.01258, allocations: 8 kB / 0.8886 GB, free: 11.73 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 0.0001066/0.01269, allocations: 176.5 kB / 0.8887 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.429e-05/0.01273, allocations: 39.81 kB / 0.8888 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003809/0.01312, allocations: 316.7 kB / 0.8891 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.01312, allocations: 7.938 kB / 0.8891 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.01312, allocations: 0 / 0.8891 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.01313, allocations: 7.938 kB / 0.8891 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.01332, allocations: 232.4 kB / 0.8893 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.01332, allocations: 7.984 kB / 0.8893 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.01343, allocations: 55.92 kB / 0.8894 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.01343, allocations: 0 / 0.8894 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.01345, allocations: 15.98 kB / 0.8894 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.01346, allocations: 0 / 0.8894 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.01346, allocations: 0 / 0.8894 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003026/0.01376, allocations: 286.6 kB / 0.8897 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.64e-05/0.01385, allocations: 67.69 kB / 0.8897 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/0.01389, allocations: 12 kB / 0.8897 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.2e-05/0.01396, allocations: 19.98 kB / 0.8898 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.783e-05/0.01402, allocations: 31.89 kB / 0.8898 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.01403, allocations: 11.98 kB / 0.8898 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001205/0.01415, allocations: 221.1 kB / 0.89 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01415, allocations: 0 / 0.89 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002527/0.01441, allocations: 91.8 kB / 0.8901 GB, free: 10.09 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.00101/0.01542, allocations: 470.6 kB / 0.8905 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002547/0.01567, allocations: 175.2 kB / 0.8907 GB, free: 9.598 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01567, allocations: 0 / 0.8907 GB, free: 9.598 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.01579, allocations: 103.5 kB / 0.8908 GB, free: 9.492 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.01603, allocations: 65.95 kB / 0.8909 GB, free: 9.43 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009573/0.01698, allocations: 483.1 kB / 0.8913 GB, free: 8.934 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.633e-05/0.01704, allocations: 98.12 kB / 0.8914 GB, free: 8.82 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002083/0.01725, allocations: 142.8 kB / 0.8916 GB, free: 8.68 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.865e-05/0.01733, allocations: 48.47 kB / 0.8916 GB, free: 8.633 MB / 0.8542 GB Notification: Performance of SimCode: time 1.222e-06/0.01733, allocations: 0 / 0.8916 GB, free: 8.633 MB / 0.8542 GB Notification: Performance of Templates: time 0.006616/0.02394, allocations: 4 MB / 0.8955 GB, free: 4.695 MB / 0.8542 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.665354097960517]