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.001894/0.001894, allocations: 83.7 kB / 20.23 MB, free: 4.188 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.002077/0.002077, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.573/1.573, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 2.88/2.88, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] 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.643e-06/1.643e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.689e-05/2.853e-05, allocations: 2.969 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003861/0.003889, allocations: 1.919 MB / 0.7883 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003061/0.00695, allocations: 1.816 MB / 0.79 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.266e-05/0.007023, allocations: 0 / 0.79 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002399/0.007263, allocations: 39.64 kB / 0.7901 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004252/0.007688, allocations: 123.7 kB / 0.7902 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004533/0.008141, allocations: 169 kB / 0.7904 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006387/0.00878, allocations: 301.2 kB / 0.7906 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.008896, allocations: 25.23 kB / 0.7907 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002009/0.009097, allocations: 145.5 kB / 0.7908 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002347/0.009331, allocations: 91.8 kB / 0.7909 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.604e-05/0.009388, allocations: 24 kB / 0.7909 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002463/0.009634, allocations: 127.8 kB / 0.791 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.009771, allocations: 91.73 kB / 0.7911 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.009909, allocations: 88.83 kB / 0.7912 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006474/0.01056, allocations: 406.5 kB / 0.7916 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.01056, allocations: 4 kB / 0.7916 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.613e-06/0.01057, allocations: 0.75 kB / 0.7916 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.01057, allocations: 0 / 0.7916 GB, free: 7.469 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.001085/0.01166, allocations: 0.635 MB / 0.7922 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.0117, allocations: 8.031 kB / 0.7922 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002306/0.01193, allocations: 52.69 kB / 0.7923 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003871/0.01231, allocations: 235.4 kB / 0.7925 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.01234, allocations: 12.75 kB / 0.7925 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.43e-05/0.01238, allocations: 24.38 kB / 0.7925 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005272/0.01291, allocations: 365.2 kB / 0.7929 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.01292, allocations: 3.938 kB / 0.7929 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.01295, allocations: 4.531 kB / 0.7929 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.01296, allocations: 9.656 kB / 0.7929 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.01396, allocations: 0.6781 MB / 0.7936 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.01516, allocations: 0.5851 MB / 0.7941 GB, free: 4.723 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000494/0.01565, allocations: 250.7 kB / 0.7944 GB, free: 4.461 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/0.01583, allocations: 92.16 kB / 0.7945 GB, free: 4.367 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.662e-05/0.01588, allocations: 12.86 kB / 0.7945 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003586/0.01624, allocations: 229.1 kB / 0.7947 GB, free: 4.105 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=36): time 1.503e-06/0.01624, allocations: 1.156 kB / 0.7947 GB, free: 4.105 MB / 0.7448 GB Notification: Performance of matching and sorting (n=36): time 0.000701/0.01694, allocations: 323.9 kB / 0.795 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.01706, allocations: 140.5 kB / 0.7951 GB, free: 3.617 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003647/0.01743, allocations: 345.6 kB / 0.7955 GB, free: 3.266 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.872e-05/0.01747, allocations: 33.7 kB / 0.7955 GB, free: 3.227 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.01761, allocations: 183.8 kB / 0.7957 GB, free: 3.043 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/0.01776, allocations: 138.9 kB / 0.7958 GB, free: 2.906 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.01789, allocations: 84.19 kB / 0.7959 GB, free: 2.816 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003078/0.0182, allocations: 0.5235 MB / 0.7964 GB, free: 2.281 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.01834, allocations: 68.75 kB / 0.7965 GB, free: 2.215 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002721/0.01861, allocations: 203.8 kB / 0.7967 GB, free: 1.98 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003294/0.01894, allocations: 186.4 kB / 0.7968 GB, free: 1.797 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01894, allocations: 0 / 0.7968 GB, free: 1.797 MB / 0.7448 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.00048/0.01942, allocations: 266.2 kB / 0.7971 GB, free: 1.531 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.01944, allocations: 4.844 kB / 0.7971 GB, free: 1.527 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.01944, allocations: 0 / 0.7971 GB, free: 1.527 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.01946, allocations: 0 / 0.7971 GB, free: 1.527 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002669/0.01973, allocations: 69.06 kB / 0.7972 GB, free: 1.461 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.01973, allocations: 4 kB / 0.7972 GB, free: 1.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.01987, allocations: 31.77 kB / 0.7972 GB, free: 1.426 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.817e-05/0.0199, allocations: 13.38 kB / 0.7972 GB, free: 1.414 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 0.0004112/0.02031, allocations: 176.6 kB / 0.7974 GB, free: 1.23 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.895e-05/0.0204, allocations: 49.28 kB / 0.7974 GB, free: 1.184 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007126/0.02111, allocations: 351.8 kB / 0.7978 GB, free: 0.8359 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.02112, allocations: 4 kB / 0.7978 GB, free: 0.832 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.02113, allocations: 0.5 kB / 0.7978 GB, free: 0.832 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.02113, allocations: 3.938 kB / 0.7978 GB, free: 0.8281 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003439/0.02148, allocations: 268.9 kB / 0.798 GB, free: 0.5312 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.02148, allocations: 1.938 kB / 0.798 GB, free: 0.5312 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/0.02168, allocations: 59.91 kB / 0.7981 GB, free: 484 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.02168, allocations: 0 / 0.7981 GB, free: 484 kB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.0217, allocations: 8 kB / 0.7981 GB, free: 476 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.0217, allocations: 4 kB / 0.7981 GB, free: 472 kB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.02171, allocations: 5.094 kB / 0.7981 GB, free: 468 kB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005352/0.02224, allocations: 325.1 kB / 0.7984 GB, free: 120 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/0.02239, allocations: 63.73 kB / 0.7985 GB, free: 56 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.522e-05/0.02243, allocations: 12.64 kB / 0.7985 GB, free: 44 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.02259, allocations: 16.67 kB / 0.7985 GB, free: 28 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.111e-05/0.02266, allocations: 27.95 kB / 0.7985 GB, free: 0 / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.524e-05/0.02271, allocations: 14.89 kB / 0.7985 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002353/0.02294, allocations: 237.1 kB / 0.7988 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of sort global known variables: time 9.1e-08/0.02294, allocations: 0 / 0.7988 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003606/0.0233, allocations: 95.69 kB / 0.7989 GB, free: 15.66 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.002874/0.02618, allocations: 497.3 kB / 0.7993 GB, free: 15.37 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004677/0.02665, allocations: 211.9 kB / 0.7995 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.02665, allocations: 8 kB / 0.7995 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002226/0.02687, allocations: 127.4 kB / 0.7997 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.02719, allocations: 55.97 kB / 0.7997 GB, free: 14.97 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.02823, allocations: 0.4991 MB / 0.8002 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001812/0.02841, allocations: 151 kB / 0.8004 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003198/0.02873, allocations: 138.8 kB / 0.8005 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.02883, allocations: 44.48 kB / 0.8005 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of SimCode: time 8.21e-07/0.02883, allocations: 0 / 0.8005 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of Templates: time 0.0102/0.03903, allocations: 3.992 MB / 0.8044 GB, free: 10.17 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.14643631700892]