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.001904/0.001904, allocations: 84.73 kB / 19.44 MB, free: 344 kB / 13.93 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.002498/0.002498, allocations: 157.7 kB / 22.76 MB, free: 1.672 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.579/1.579, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 3.197/3.197, allocations: 429.6 MB / 0.673 GB, free: 3.867 MB / 0.6355 GB " [Timeout remaining time 176] 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.863e-06/1.863e-06, allocations: 0 / 0.8776 GB, free: 6.473 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.063e-05/3.249e-05, allocations: 9.719 kB / 0.8776 GB, free: 6.465 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.00377/0.003802, allocations: 1.892 MB / 0.8795 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003247/0.00705, allocations: 1.795 MB / 0.8812 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.969e-05/0.007139, allocations: 0 / 0.8812 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000262/0.007401, allocations: 35.7 kB / 0.8812 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0006388/0.00804, allocations: 124.5 kB / 0.8814 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008169/0.008857, allocations: 172.8 kB / 0.8815 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000594/0.009451, allocations: 301.3 kB / 0.8818 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.009582, allocations: 25.23 kB / 0.8818 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003688/0.00995, allocations: 144.5 kB / 0.882 GB, free: 2 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003363/0.01029, allocations: 95.8 kB / 0.8821 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 7.672e-05/0.01036, allocations: 20.56 kB / 0.8821 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004168/0.01078, allocations: 128.8 kB / 0.8822 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.000184/0.01096, allocations: 91.78 kB / 0.8823 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001864/0.01115, allocations: 83.75 kB / 0.8824 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0009131/0.01206, allocations: 407.2 kB / 0.8828 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.01207, allocations: 0 / 0.8828 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.322e-06/0.01207, allocations: 0.5938 kB / 0.8828 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.01208, allocations: 0 / 0.8828 GB, free: 1.191 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.001435/0.01352, allocations: 0.5222 MB / 0.8833 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.01356, allocations: 12.03 kB / 0.8833 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000256/0.01381, allocations: 56.14 kB / 0.8833 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003922/0.01421, allocations: 236.6 kB / 0.8836 GB, free: 328 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.01423, allocations: 12.75 kB / 0.8836 GB, free: 316 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.838e-05/0.01428, allocations: 24.38 kB / 0.8836 GB, free: 292 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007883/0.01507, allocations: 373.4 kB / 0.884 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.01509, allocations: 3.938 kB / 0.884 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.293e-05/0.01513, allocations: 4 kB / 0.884 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.01514, allocations: 4 kB / 0.884 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001609/0.01675, allocations: 0.7052 MB / 0.8847 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001832/0.01858, allocations: 0.5482 MB / 0.8852 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009133/0.01949, allocations: 287.1 kB / 0.8855 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003197/0.01981, allocations: 104.7 kB / 0.8856 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.211e-05/0.01989, allocations: 15.98 kB / 0.8856 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006563/0.02054, allocations: 237.5 kB / 0.8858 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=36): time 2.485e-06/0.02054, allocations: 0 / 0.8858 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of matching and sorting (n=36): time 0.001528/0.02207, allocations: 398.1 kB / 0.8862 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001431/0.02222, allocations: 140.5 kB / 0.8863 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006464/0.02286, allocations: 329.8 kB / 0.8866 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.285e-05/0.02292, allocations: 33.7 kB / 0.8867 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.0231, allocations: 137.1 kB / 0.8868 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001851/0.02329, allocations: 122.9 kB / 0.8869 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001948/0.02348, allocations: 69.67 kB / 0.887 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002695/0.02375, allocations: 338.8 kB / 0.8873 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002967/0.02405, allocations: 87.89 kB / 0.8874 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004809/0.02453, allocations: 204.5 kB / 0.8876 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008405/0.02537, allocations: 218.7 kB / 0.8878 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.02538, allocations: 0 / 0.8878 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000999/0.02637, allocations: 308.9 kB / 0.8881 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/0.0264, allocations: 11.98 kB / 0.8881 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.02641, allocations: 0 / 0.8881 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.577e-05/0.02644, allocations: 0 / 0.8881 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004277/0.02687, allocations: 59.91 kB / 0.8882 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.02688, allocations: 7.938 kB / 0.8882 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002959/0.02717, allocations: 35.77 kB / 0.8882 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.602e-05/0.02723, allocations: 8 kB / 0.8882 GB, free: 11.34 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.0003249/0.02756, allocations: 169.7 kB / 0.8884 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/0.02771, allocations: 47.84 kB / 0.8884 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001334/0.02905, allocations: 392.6 kB / 0.8888 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.02906, allocations: 8 kB / 0.8888 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.02906, allocations: 0 / 0.8888 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.02907, allocations: 3.938 kB / 0.8888 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005525/0.02962, allocations: 253 kB / 0.889 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.02963, allocations: 3.984 kB / 0.889 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003479/0.02998, allocations: 51.92 kB / 0.8891 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.328e-05/0.02999, allocations: 4 kB / 0.8891 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.538e-05/0.03003, allocations: 11.98 kB / 0.8891 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.03003, allocations: 0 / 0.8891 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.03003, allocations: 0 / 0.8891 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009734/0.03101, allocations: 351.3 kB / 0.8894 GB, free: 10.01 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002522/0.03126, allocations: 75.73 kB / 0.8895 GB, free: 9.934 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.754e-05/0.03134, allocations: 15.92 kB / 0.8895 GB, free: 9.918 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003301/0.03167, allocations: 23.97 kB / 0.8896 GB, free: 9.895 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.03178, allocations: 27.95 kB / 0.8896 GB, free: 9.867 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.643e-05/0.03182, allocations: 11.98 kB / 0.8896 GB, free: 9.855 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004664/0.03229, allocations: 249.2 kB / 0.8898 GB, free: 9.617 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.91e-07/0.03229, allocations: 0 / 0.8898 GB, free: 9.617 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006347/0.03292, allocations: 83.81 kB / 0.8899 GB, free: 9.535 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.003183/0.03611, allocations: 0.4977 MB / 0.8904 GB, free: 9.219 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0009268/0.03703, allocations: 227.4 kB / 0.8906 GB, free: 8.996 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/0.03705, allocations: 4 kB / 0.8906 GB, free: 8.992 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004097/0.03745, allocations: 123.7 kB / 0.8907 GB, free: 8.871 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005983/0.03805, allocations: 57.59 kB / 0.8908 GB, free: 8.816 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.03998, allocations: 0.5601 MB / 0.8913 GB, free: 8.234 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005746/0.04055, allocations: 162.8 kB / 0.8915 GB, free: 8.055 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0006303/0.04118, allocations: 150.9 kB / 0.8916 GB, free: 7.906 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/0.04136, allocations: 48.48 kB / 0.8917 GB, free: 7.859 MB / 0.8542 GB Notification: Performance of SimCode: time 9.22e-07/0.04136, allocations: 0 / 0.8917 GB, free: 7.859 MB / 0.8542 GB Notification: Performance of Templates: time 0.01451/0.05587, allocations: 4.01 MB / 0.8956 GB, free: 3.922 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.46114933595527]