Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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.001913/0.001913, allocations: 103.1 kB / 16.45 MB, free: 6.504 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.002369/0.002369, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.525/1.525, allocations: 230.6 MB / 252.8 MB, free: 8.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.232/3.232, allocations: 0.49 GB / 0.7915 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003378/0.003378, allocations: 73.77 kB / 1.149 GB, free: 26.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3415, allocations: 176.1 MB / 1.321 GB, free: 3.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002365/0.3439, allocations: 1.3 MB / 1.323 GB, free: 1.707 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1601/0.504, allocations: 135.2 MB / 1.455 GB, free: 9.984 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.556e-05/0.504, allocations: 0 / 1.455 GB, free: 9.984 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 2.422e-05/0.504, allocations: 0 / 1.455 GB, free: 9.984 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 5.099e-05/0.5041, allocations: 7.922 kB / 1.455 GB, free: 9.977 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003756/0.5045, allocations: 63.66 kB / 1.455 GB, free: 9.914 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 9.572e-05/0.5046, allocations: 27.86 kB / 1.455 GB, free: 9.887 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 3.688e-05/0.5046, allocations: 0 / 1.455 GB, free: 9.887 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 4.413e-05/0.5046, allocations: 8 kB / 1.455 GB, free: 9.879 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 6.627e-05/0.5047, allocations: 15.92 kB / 1.455 GB, free: 9.863 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.5047, allocations: 0 / 1.455 GB, free: 9.863 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 9.333e-05/0.5048, allocations: 19.98 kB / 1.455 GB, free: 9.844 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 1.314e-05/0.5048, allocations: 0 / 1.455 GB, free: 9.844 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 2.746e-05/0.5048, allocations: 15.88 kB / 1.455 GB, free: 9.828 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.505, allocations: 19.97 kB / 1.455 GB, free: 9.809 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.505, allocations: 4 kB / 1.455 GB, free: 9.805 MB / 1.154 GB Notification: Performance of FrontEnd: time 9.12e-07/0.505, allocations: 3.938 kB / 1.455 GB, free: 9.801 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.505, allocations: 0 / 1.455 GB, free: 9.801 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004622/0.5054, allocations: 337.1 kB / 1.455 GB, free: 9.422 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.5055, allocations: 19.97 kB / 1.455 GB, free: 9.402 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.637e-05/0.5055, allocations: 0.9375 kB / 1.455 GB, free: 9.402 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.5056, allocations: 160.4 kB / 1.455 GB, free: 9.207 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.433e-05/0.5057, allocations: 34.27 kB / 1.455 GB, free: 9.168 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.5057, allocations: 384 / 1.455 GB, free: 9.168 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.5059, allocations: 42.25 kB / 1.455 GB, free: 9.121 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.5059, allocations: 7.938 kB / 1.455 GB, free: 9.113 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.5059, allocations: 0 / 1.455 GB, free: 9.113 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.5059, allocations: 0 / 1.455 GB, free: 9.113 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.806e-05/0.506, allocations: 19.92 kB / 1.455 GB, free: 9.094 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001895/0.5062, allocations: 161.6 kB / 1.455 GB, free: 8.887 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.5063, allocations: 30.61 kB / 1.456 GB, free: 8.848 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.975e-05/0.5063, allocations: 12.86 kB / 1.456 GB, free: 8.832 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001606/0.5065, allocations: 89.19 kB / 1.456 GB, free: 8.727 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.5065, allocations: 34.56 kB / 1.456 GB, free: 8.684 MB / 1.154 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.5065, allocations: 0 / 1.456 GB, free: 8.684 MB / 1.154 GB Notification: Performance of matching and sorting (n=3): time 0.0002414/0.5067, allocations: 69.53 kB / 1.456 GB, free: 8.609 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.5068, allocations: 55.41 kB / 1.456 GB, free: 8.543 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.908e-05/0.5069, allocations: 93.86 kB / 1.456 GB, free: 8.441 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.5069, allocations: 25.7 kB / 1.456 GB, free: 8.41 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 3.841e-05/0.5069, allocations: 80.14 kB / 1.456 GB, free: 8.328 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.5069, allocations: 15.94 kB / 1.456 GB, free: 8.312 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.507, allocations: 17.72 kB / 1.456 GB, free: 8.289 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.5071, allocations: 318.8 kB / 1.456 GB, free: 7.969 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.75e-05/0.5072, allocations: 7.984 kB / 1.456 GB, free: 7.961 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.868e-05/0.5072, allocations: 8 kB / 1.456 GB, free: 7.953 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.935e-05/0.5073, allocations: 24.84 kB / 1.456 GB, free: 7.926 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.5073, allocations: 0 / 1.456 GB, free: 7.926 MB / 1.154 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001317/0.5074, allocations: 53.58 kB / 1.456 GB, free: 7.867 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.5074, allocations: 7.938 kB / 1.456 GB, free: 7.859 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.5074, allocations: 4 kB / 1.456 GB, free: 7.855 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.5075, allocations: 0 / 1.456 GB, free: 7.855 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.756e-05/0.5075, allocations: 11.92 kB / 1.456 GB, free: 7.844 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.5075, allocations: 7.984 kB / 1.456 GB, free: 7.836 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.937e-05/0.5076, allocations: 0 / 1.456 GB, free: 7.836 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.5076, allocations: 4 kB / 1.456 GB, free: 7.832 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 7.712e-05/0.5076, allocations: 109.8 kB / 1.457 GB, free: 7.715 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.025e-05/0.5077, allocations: 3.938 kB / 1.457 GB, free: 7.711 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001674/0.5078, allocations: 61.11 kB / 1.457 GB, free: 7.641 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.5078, allocations: 0 / 1.457 GB, free: 7.641 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.5078, allocations: 0 / 1.457 GB, free: 7.641 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.5078, allocations: 4 kB / 1.457 GB, free: 7.637 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.5079, allocations: 153.7 kB / 1.457 GB, free: 7.438 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5079, allocations: 0 / 1.457 GB, free: 7.438 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.189e-05/0.508, allocations: 4 kB / 1.457 GB, free: 7.434 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.508, allocations: 7.938 kB / 1.457 GB, free: 7.426 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.508, allocations: 3.984 kB / 1.457 GB, free: 7.422 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.508, allocations: 0 / 1.457 GB, free: 7.422 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.508, allocations: 0 / 1.457 GB, free: 7.422 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.5082, allocations: 77.12 kB / 1.457 GB, free: 7.328 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-05/0.5082, allocations: 85.66 kB / 1.457 GB, free: 7.227 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.5082, allocations: 3.938 kB / 1.457 GB, free: 7.223 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.299e-05/0.5083, allocations: 11.94 kB / 1.457 GB, free: 7.211 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.806e-05/0.5083, allocations: 0 / 1.457 GB, free: 7.211 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.5083, allocations: 0 / 1.457 GB, free: 7.211 MB / 1.154 GB Notification: Performance of sorting global known variables: time 4.889e-05/0.5084, allocations: 91.25 kB / 1.457 GB, free: 7.121 MB / 1.154 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5084, allocations: 0 / 1.457 GB, free: 7.121 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002075/0.5086, allocations: 11.94 kB / 1.457 GB, free: 7.109 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001593/0.5087, allocations: 115.2 kB / 1.457 GB, free: 6.984 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0001407/0.5089, allocations: 19.98 kB / 1.457 GB, free: 6.965 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5089, allocations: 0 / 1.457 GB, free: 6.965 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 5.143e-05/0.5089, allocations: 11.94 kB / 1.457 GB, free: 6.953 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.5091, allocations: 7.984 kB / 1.457 GB, free: 6.945 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000308/0.5095, allocations: 123.7 kB / 1.457 GB, free: 6.801 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.5098, allocations: 0.6806 MB / 1.458 GB, free: 6.094 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 3.394e-05/0.5098, allocations: 4 kB / 1.458 GB, free: 6.09 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.194e-05/0.5098, allocations: 11.38 kB / 1.458 GB, free: 6.078 MB / 1.154 GB Notification: Performance of SimCode: time 3.6e-07/0.5098, allocations: 4 kB / 1.458 GB, free: 6.074 MB / 1.154 GB Notification: Performance of Templates: time 0.003224/0.513, allocations: 0.5099 MB / 1.458 GB, free: 5.566 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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.959376192186028]