Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001673/0.001673, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001852/0.001852, allocations: 212.5 kB / 22.24 MB, free: 4.855 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.545/1.545, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.818/2.818, allocations: 475.9 MB / 0.7699 GB, free: 4.777 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_11_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_11_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.002189/0.002189, allocations: 66.97 kB / 1.117 GB, free: 41.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3399, allocations: 170 MB / 1.283 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.00278/0.3427, allocations: 1.292 MB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1719/0.5146, allocations: 115.7 MB / 1.397 GB, free: 6.461 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.661e-05/0.5146, allocations: 0 / 1.397 GB, free: 6.461 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 2.351e-05/0.5147, allocations: 0 / 1.397 GB, free: 6.461 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 5.919e-05/0.5147, allocations: 19.91 kB / 1.397 GB, free: 6.441 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003879/0.5151, allocations: 51.69 kB / 1.397 GB, free: 6.391 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.5152, allocations: 19.86 kB / 1.397 GB, free: 6.371 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 4.316e-05/0.5153, allocations: 8 kB / 1.397 GB, free: 6.363 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 5.009e-05/0.5153, allocations: 11.92 kB / 1.397 GB, free: 6.352 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 7.247e-05/0.5154, allocations: 7.984 kB / 1.397 GB, free: 6.344 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.5154, allocations: 0 / 1.397 GB, free: 6.344 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.5155, allocations: 15.94 kB / 1.397 GB, free: 6.328 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 2.832e-05/0.5155, allocations: 11.98 kB / 1.397 GB, free: 6.316 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 2.544e-05/0.5155, allocations: 3.938 kB / 1.397 GB, free: 6.312 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.5157, allocations: 31.92 kB / 1.397 GB, free: 6.281 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.5157, allocations: 0 / 1.397 GB, free: 6.281 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.903e-06/0.5157, allocations: 0 / 1.397 GB, free: 6.281 MB / 1.092 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.5157, allocations: 0 / 1.397 GB, free: 6.281 MB / 1.092 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.0005317/0.5162, allocations: 262.2 kB / 1.398 GB, free: 5.992 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.5163, allocations: 8.031 kB / 1.398 GB, free: 5.984 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.771e-05/0.5163, allocations: 8.938 kB / 1.398 GB, free: 5.977 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.5164, allocations: 110.5 kB / 1.398 GB, free: 5.844 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.5165, allocations: 55.97 kB / 1.398 GB, free: 5.777 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.5166, allocations: 384 / 1.398 GB, free: 5.777 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.5167, allocations: 46.25 kB / 1.398 GB, free: 5.727 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.5167, allocations: 3.938 kB / 1.398 GB, free: 5.723 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.5167, allocations: 0 / 1.398 GB, free: 5.723 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.5167, allocations: 0 / 1.398 GB, free: 5.723 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.019e-05/0.5168, allocations: 15.92 kB / 1.398 GB, free: 5.707 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001869/0.517, allocations: 109.2 kB / 1.398 GB, free: 5.57 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.5171, allocations: 30.61 kB / 1.398 GB, free: 5.531 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.542e-05/0.5172, allocations: 12.86 kB / 1.398 GB, free: 5.516 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001518/0.5173, allocations: 24.06 kB / 1.398 GB, free: 5.492 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.5174, allocations: 30.56 kB / 1.398 GB, free: 5.453 MB / 1.092 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.5174, allocations: 0 / 1.398 GB, free: 5.453 MB / 1.092 GB Notification: Performance of matching and sorting (n=3): time 0.0002736/0.5176, allocations: 69.5 kB / 1.398 GB, free: 5.379 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.5177, allocations: 51.41 kB / 1.398 GB, free: 5.316 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.291e-05/0.5178, allocations: 101.8 kB / 1.398 GB, free: 5.207 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.5178, allocations: 25.7 kB / 1.398 GB, free: 5.176 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 3.63e-05/0.5178, allocations: 80.14 kB / 1.398 GB, free: 5.094 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.5179, allocations: 3.953 kB / 1.398 GB, free: 5.09 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.5179, allocations: 21.72 kB / 1.399 GB, free: 5.062 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.5181, allocations: 314.8 kB / 1.399 GB, free: 4.746 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.98e-05/0.5181, allocations: 7.984 kB / 1.399 GB, free: 4.738 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.992e-05/0.5181, allocations: 4 kB / 1.399 GB, free: 4.734 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.5182, allocations: 20.84 kB / 1.399 GB, free: 4.711 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.5182, allocations: 4 kB / 1.399 GB, free: 4.707 MB / 1.092 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000139/0.5184, allocations: 49.62 kB / 1.399 GB, free: 4.652 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.5184, allocations: 7.984 kB / 1.399 GB, free: 4.645 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.5184, allocations: 4 kB / 1.399 GB, free: 4.641 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.5184, allocations: 7.938 kB / 1.399 GB, free: 4.633 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.409e-05/0.5185, allocations: 4 kB / 1.399 GB, free: 4.629 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.5185, allocations: 0 / 1.399 GB, free: 4.629 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.574e-05/0.5185, allocations: 4 kB / 1.399 GB, free: 4.625 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.864e-06/0.5186, allocations: 7.938 kB / 1.399 GB, free: 4.617 MB / 1.092 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 8.627e-05/0.5186, allocations: 105.8 kB / 1.399 GB, free: 4.504 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.396e-05/0.5187, allocations: 11.88 kB / 1.399 GB, free: 4.492 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001899/0.5188, allocations: 65.25 kB / 1.399 GB, free: 4.422 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.5188, allocations: 4 kB / 1.399 GB, free: 4.418 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5189, allocations: 0 / 1.399 GB, free: 4.418 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.5189, allocations: 3.984 kB / 1.399 GB, free: 4.414 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.519, allocations: 97.33 kB / 1.399 GB, free: 4.289 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.519, allocations: 0 / 1.399 GB, free: 4.289 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.743e-05/0.519, allocations: 8 kB / 1.399 GB, free: 4.281 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.519, allocations: 0 / 1.399 GB, free: 4.281 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.519, allocations: 0 / 1.399 GB, free: 4.281 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.519, allocations: 3.938 kB / 1.399 GB, free: 4.277 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.519, allocations: 3.984 kB / 1.399 GB, free: 4.273 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001735/0.5192, allocations: 81.62 kB / 1.399 GB, free: 4.176 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 3.754e-05/0.5192, allocations: 8 kB / 1.399 GB, free: 4.168 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.5192, allocations: 0 / 1.399 GB, free: 4.168 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.406e-05/0.5193, allocations: 7.969 kB / 1.399 GB, free: 4.16 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.245e-05/0.5193, allocations: 7.984 kB / 1.399 GB, free: 4.152 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.5193, allocations: 4 kB / 1.399 GB, free: 4.148 MB / 1.092 GB Notification: Performance of sorting global known variables: time 4.51e-05/0.5194, allocations: 75.28 kB / 1.399 GB, free: 4.074 MB / 1.092 GB Notification: Performance of sort global known variables: time 7e-08/0.5194, allocations: 0 / 1.399 GB, free: 4.074 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0002057/0.5196, allocations: 19.92 kB / 1.399 GB, free: 4.055 MB / 1.092 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.0002061/0.5198, allocations: 99.25 kB / 1.4 GB, free: 3.945 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0001635/0.5199, allocations: 27.97 kB / 1.4 GB, free: 3.918 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.52, allocations: 0 / 1.4 GB, free: 3.918 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 5.329e-05/0.52, allocations: 11.94 kB / 1.4 GB, free: 3.906 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.5203, allocations: 15.97 kB / 1.4 GB, free: 3.891 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003632/0.5206, allocations: 124.2 kB / 1.4 GB, free: 3.742 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.714e-05/0.5207, allocations: 55.36 kB / 1.4 GB, free: 3.668 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 3.988e-05/0.5207, allocations: 11.98 kB / 1.4 GB, free: 3.656 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.362e-05/0.5208, allocations: 7.438 kB / 1.4 GB, free: 3.648 MB / 1.092 GB Notification: Performance of SimCode: time 4.71e-07/0.5208, allocations: 3.938 kB / 1.4 GB, free: 3.645 MB / 1.092 GB Notification: Performance of Templates: time 0.003487/0.5243, allocations: 0.5358 MB / 1.4 GB, free: 3.125 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.12739210948348]