Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.AirProperties.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.00175/0.00175, allocations: 79.2 kB / 19.18 MB, free: 2.516 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.001954/0.001954, allocations: 163.8 kB / 22.46 MB, free: 5.375 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.462/1.462, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 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.784/2.784, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 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.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|hLiq|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_11_Buildings.Media.Examples.AirProperties") translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|hLiq|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_11_Buildings.Media.Examples.AirProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.187e-05/3.37e-05, allocations: 10.22 kB / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1855/0.1856, allocations: 131.1 MB / 1.079 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005812/0.1914, allocations: 3.306 MB / 1.082 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001973/0.1916, allocations: 4 kB / 1.082 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004399/0.192, allocations: 51.67 kB / 1.082 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004657/0.1925, allocations: 147 kB / 1.082 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003543/0.196, allocations: 1.08 MB / 1.083 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006246/0.1966, allocations: 339.5 kB / 1.084 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.051e-05/0.1967, allocations: 9.812 kB / 1.084 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006551/0.1974, allocations: 251.1 kB / 1.084 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002647/0.1976, allocations: 123.7 kB / 1.084 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.39e-05/0.1977, allocations: 8 kB / 1.084 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002481/0.2002, allocations: 1.082 MB / 1.085 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001486/0.2003, allocations: 71.78 kB / 1.085 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001584/0.2005, allocations: 83.81 kB / 1.085 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001857/0.2023, allocations: 0.67 MB / 1.086 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2023, allocations: 0 / 1.086 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.724e-06/0.2023, allocations: 0 / 1.086 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.2023, allocations: 0 / 1.086 GB, free: 0.7305 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.00163/0.204, allocations: 0.5243 MB / 1.087 GB, free: 180 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.204, allocations: 8.031 kB / 1.087 GB, free: 172 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/0.2053, allocations: 136.7 kB / 1.087 GB, free: 36 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/0.2056, allocations: 165.5 kB / 1.087 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.2057, allocations: 12.75 kB / 1.087 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.094e-05/0.2057, allocations: 20.31 kB / 1.087 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008181/0.2065, allocations: 0.5935 MB / 1.087 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.2065, allocations: 0 / 1.087 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.909e-05/0.2066, allocations: 12 kB / 1.087 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-05/0.2066, allocations: 12 kB / 1.087 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006229/0.2072, allocations: 324.1 kB / 1.088 GB, free: 14.8 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001857/0.2091, allocations: 0.8997 MB / 1.089 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005493/0.2096, allocations: 178.4 kB / 1.089 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.2098, allocations: 76.8 kB / 1.089 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003836/0.2102, allocations: 71.94 kB / 1.089 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.2102, allocations: 38.56 kB / 1.089 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=21): time 1.643e-06/0.2102, allocations: 0 / 1.089 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21): time 0.0007728/0.211, allocations: 270 kB / 1.089 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.211, allocations: 51.41 kB / 1.089 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.2112, allocations: 168.3 kB / 1.089 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.345e-05/0.2113, allocations: 33.7 kB / 1.09 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.2114, allocations: 156.1 kB / 1.09 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.383e-05/0.2115, allocations: 79.33 kB / 1.09 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.2116, allocations: 49.7 kB / 1.09 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.2118, allocations: 326.8 kB / 1.09 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.2119, allocations: 72.17 kB / 1.09 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002315/0.2122, allocations: 163.6 kB / 1.09 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004089/0.2126, allocations: 244.2 kB / 1.091 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.2126, allocations: 8 kB / 1.091 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000616/0.2132, allocations: 277.9 kB / 1.091 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.2132, allocations: 8 kB / 1.091 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.2132, allocations: 0 / 1.091 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.2132, allocations: 7.938 kB / 1.091 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002649/0.2135, allocations: 60.28 kB / 1.091 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.2135, allocations: 11.94 kB / 1.091 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002002/0.2137, allocations: 23.84 kB / 1.091 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.78e-05/0.2138, allocations: 12 kB / 1.091 GB, free: 11.36 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001689/0.2139, allocations: 141.7 kB / 1.091 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.2141, allocations: 19.91 kB / 1.091 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005372/0.2146, allocations: 273.2 kB / 1.091 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.2146, allocations: 0 / 1.091 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.2146, allocations: 4 kB / 1.091 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.2146, allocations: 7.875 kB / 1.091 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008362/0.2155, allocations: 0.5213 MB / 1.092 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2155, allocations: 0 / 1.092 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/0.2156, allocations: 27.98 kB / 1.092 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.2156, allocations: 0 / 1.092 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.2157, allocations: 11.94 kB / 1.092 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.2157, allocations: 0 / 1.092 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.2157, allocations: 0 / 1.092 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006089/0.2163, allocations: 349.5 kB / 1.092 GB, free: 9.949 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.2164, allocations: 39.81 kB / 1.092 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.922e-05/0.2164, allocations: 8 kB / 1.092 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/0.2167, allocations: 15.98 kB / 1.092 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.2167, allocations: 11.98 kB / 1.092 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.763e-05/0.2168, allocations: 15.98 kB / 1.092 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001175/0.2169, allocations: 118.4 kB / 1.092 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.2169, allocations: 0 / 1.092 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000578/0.2175, allocations: 119.8 kB / 1.093 GB, free: 9.629 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * 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.0005534/0.218, allocations: 242.7 kB / 1.093 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004139/0.2184, allocations: 203.6 kB / 1.093 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2184, allocations: 0 / 1.093 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.2186, allocations: 92.64 kB / 1.093 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005439/0.2191, allocations: 64 kB / 1.093 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009308/0.2201, allocations: 428.2 kB / 1.094 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001472/0.2202, allocations: 124.4 kB / 1.094 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000203/0.2204, allocations: 45.61 kB / 1.094 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.883e-05/0.2205, allocations: 28.48 kB / 1.094 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of SimCode: time 6.62e-07/0.2205, allocations: 0 / 1.094 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of Templates: time 0.01075/0.2312, allocations: 4.586 MB / 1.098 GB, free: 3.879 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.AirProperties.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirProperties.sim & ./Buildings_11_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.AirProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.AirProperties.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: 9.150096893310547]