Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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.001823/0.001823, allocations: 78.88 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002181/0.002181, allocations: 168.8 kB / 22.46 MB, free: 5.359 MB / 14.72 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.44/1.44, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.793/2.793, allocations: 377.8 MB / 0.6221 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.CheckPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chePre.PIn|chePre.pAtm",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chePre.PIn|chePre.pAtm",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.955e-05/3.13e-05, allocations: 10.22 kB / 0.9814 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003195/0.003226, allocations: 1.677 MB / 0.9831 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002248/0.005474, allocations: 1.378 MB / 0.9844 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.074e-05/0.005555, allocations: 4 kB / 0.9844 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002524/0.005807, allocations: 31.72 kB / 0.9845 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004611/0.006268, allocations: 111.4 kB / 0.9846 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003932/0.006661, allocations: 143 kB / 0.9847 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003592/0.007021, allocations: 273.4 kB / 0.985 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.00714, allocations: 25.5 kB / 0.985 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.007311, allocations: 119.8 kB / 0.9851 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002062/0.007517, allocations: 91.75 kB / 0.9852 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.065e-05/0.007568, allocations: 16 kB / 0.9852 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002486/0.007816, allocations: 127.7 kB / 0.9853 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.007961, allocations: 91.73 kB / 0.9854 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.008073, allocations: 71.81 kB / 0.9855 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005266/0.0086, allocations: 366.8 kB / 0.9858 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.008605, allocations: 0 / 0.9858 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.173e-06/0.008606, allocations: 0 / 0.9858 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.008616, allocations: 0 / 0.9858 GB, free: 7.422 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009636/0.009579, allocations: 0.5017 MB / 0.9863 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.009623, allocations: 12.03 kB / 0.9863 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.817e-05/0.009721, allocations: 28.75 kB / 0.9864 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003529/0.01007, allocations: 216.8 kB / 0.9866 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.0101, allocations: 12.7 kB / 0.9866 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.531e-05/0.01014, allocations: 16.38 kB / 0.9866 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005042/0.01064, allocations: 331.2 kB / 0.9869 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.01065, allocations: 192 / 0.9869 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.32e-05/0.01069, allocations: 8.125 kB / 0.9869 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.0107, allocations: 4 kB / 0.9869 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009762/0.01167, allocations: 0.6946 MB / 0.9876 GB, free: 5.512 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.01286, allocations: 0.4964 MB / 0.9881 GB, free: 4.984 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004571/0.01332, allocations: 212.8 kB / 0.9883 GB, free: 4.766 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/0.0135, allocations: 101.4 kB / 0.9884 GB, free: 4.664 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.763e-05/0.01355, allocations: 12.27 kB / 0.9884 GB, free: 4.652 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004475/0.014, allocations: 203.8 kB / 0.9886 GB, free: 4.438 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=34): time 1.774e-06/0.014, allocations: 0 / 0.9886 GB, free: 4.438 MB / 0.9356 GB Notification: Performance of matching and sorting (n=34): time 0.0008024/0.0148, allocations: 373.2 kB / 0.9889 GB, free: 4.066 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/0.01493, allocations: 136.5 kB / 0.9891 GB, free: 3.902 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004264/0.01536, allocations: 325.7 kB / 0.9894 GB, free: 3.578 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.85e-05/0.0154, allocations: 29.7 kB / 0.9894 GB, free: 3.543 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.01553, allocations: 140.7 kB / 0.9895 GB, free: 3.402 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.01565, allocations: 103.1 kB / 0.9896 GB, free: 3.301 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.01579, allocations: 77.5 kB / 0.9897 GB, free: 3.219 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002123/0.016, allocations: 342.8 kB / 0.99 GB, free: 2.875 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.01616, allocations: 79.95 kB / 0.9901 GB, free: 2.797 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/0.01643, allocations: 209.4 kB / 0.9903 GB, free: 2.562 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003874/0.01681, allocations: 218.2 kB / 0.9905 GB, free: 2.348 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.01682, allocations: 4 kB / 0.9905 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000509/0.01733, allocations: 281.3 kB / 0.9908 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.01735, allocations: 4 kB / 0.9908 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.01735, allocations: 0 / 0.9908 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.01737, allocations: 4 kB / 0.9908 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.01762, allocations: 59.91 kB / 0.9909 GB, free: 1.996 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.699e-06/0.01763, allocations: 4 kB / 0.9909 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.0178, allocations: 31.77 kB / 0.9909 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-05/0.01783, allocations: 12 kB / 0.9909 GB, free: 1.949 MB / 0.9356 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 (36): * Single equations (assignments): 36 * 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.0002108/0.01804, allocations: 162.2 kB / 0.9911 GB, free: 1.781 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.105e-05/0.0181, allocations: 31.84 kB / 0.9911 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007482/0.01885, allocations: 382 kB / 0.9915 GB, free: 1.371 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.01885, allocations: 0 / 0.9915 GB, free: 1.371 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.01886, allocations: 11.98 kB / 0.9915 GB, free: 1.359 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.01887, allocations: 0 / 0.9915 GB, free: 1.359 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004026/0.01927, allocations: 237 kB / 0.9917 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01927, allocations: 0 / 0.9917 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002579/0.01953, allocations: 55.91 kB / 0.9917 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.01953, allocations: 0 / 0.9917 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/0.01956, allocations: 20 kB / 0.9918 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.01956, allocations: 0 / 0.9918 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01956, allocations: 0 / 0.9918 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005265/0.02009, allocations: 330.2 kB / 0.9921 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.02023, allocations: 67.73 kB / 0.9921 GB, free: 0.6172 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.729e-05/0.02028, allocations: 12 kB / 0.9922 GB, free: 0.6055 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.02044, allocations: 11.98 kB / 0.9922 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/0.02051, allocations: 27.95 kB / 0.9922 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.54e-05/0.02054, allocations: 15.92 kB / 0.9922 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000258/0.0208, allocations: 245.2 kB / 0.9924 GB, free: 316 kB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.0208, allocations: 0 / 0.9924 GB, free: 316 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003511/0.02115, allocations: 83.81 kB / 0.9925 GB, free: 232 kB / 0.9356 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 (34): * Single equations (assignments): 32 * 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.001795/0.02294, allocations: 497.5 kB / 0.993 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004449/0.02339, allocations: 219.8 kB / 0.9932 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.02339, allocations: 0 / 0.9932 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000218/0.02361, allocations: 119.8 kB / 0.9933 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.0239, allocations: 43.17 kB / 0.9934 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009267/0.02482, allocations: 0.5148 MB / 0.9939 GB, free: 15 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001674/0.02499, allocations: 150.9 kB / 0.994 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003329/0.02532, allocations: 146.8 kB / 0.9942 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.02543, allocations: 48.48 kB / 0.9942 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of SimCode: time 4.1e-07/0.02543, allocations: 0 / 0.9942 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of Templates: time 0.008547/0.03398, allocations: 3.499 MB / 0.9976 GB, free: 11.19 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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.050417989492416]