Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009778/0.0009778, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009312/0.009313, allocations: 172.2 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.479/2.479, allocations: 390.9 MB / 0.6663 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.000354, allocations: 12 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8397/0.8401, allocations: 142.4 MB / 0.955 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002001/0.8421, allocations: 1.004 MB / 0.956 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.187/1.029, allocations: 128.5 MB / 1.081 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.947e-05/1.029, allocations: 4 kB / 1.081 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.327e-05/1.029, allocations: 0 / 1.081 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.953e-05/1.029, allocations: 3.938 kB / 1.082 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003928/1.03, allocations: 51.78 kB / 1.082 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.733e-05/1.03, allocations: 23.86 kB / 1.082 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.376e-05/1.03, allocations: 4 kB / 1.082 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.002e-05/1.03, allocations: 7.938 kB / 1.082 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.034e-05/1.03, allocations: 11.98 kB / 1.082 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.354e-05/1.03, allocations: 0 / 1.082 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.684e-05/1.03, allocations: 12 kB / 1.082 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.94e-05/1.03, allocations: 11.92 kB / 1.082 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.053e-05/1.03, allocations: 29.7 kB / 1.082 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001352/1.03, allocations: 37.88 kB / 1.082 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/1.03, allocations: 0 / 1.082 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.954e-06/1.03, allocations: 0 / 1.082 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.499e-06/1.03, allocations: 0 / 1.082 GB, free: 13.21 MB / 0.8419 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.0006744/1.031, allocations: 327.5 kB / 1.082 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/1.031, allocations: 8.031 kB / 1.082 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.785e-05/1.031, allocations: 4.938 kB / 1.082 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/1.031, allocations: 168.4 kB / 1.082 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001421/1.031, allocations: 38.2 kB / 1.082 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/1.032, allocations: 4.375 kB / 1.082 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/1.032, allocations: 42.19 kB / 1.082 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/1.032, allocations: 3.938 kB / 1.082 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/1.032, allocations: 0 / 1.082 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/1.032, allocations: 0 / 1.082 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.067e-05/1.032, allocations: 19.97 kB / 1.082 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002186/1.032, allocations: 157.7 kB / 1.082 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/1.032, allocations: 30.52 kB / 1.082 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.165e-05/1.032, allocations: 12.94 kB / 1.082 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001809/1.032, allocations: 93.09 kB / 1.083 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.964e-05/1.032, allocations: 34.56 kB / 1.083 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/1.032, allocations: 4 kB / 1.083 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0002767/1.033, allocations: 57.53 kB / 1.083 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/1.033, allocations: 59.33 kB / 1.083 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.023e-05/1.033, allocations: 93.86 kB / 1.083 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/1.033, allocations: 29.7 kB / 1.083 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.59e-05/1.033, allocations: 84.14 kB / 1.083 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.282e-05/1.033, allocations: 7.844 kB / 1.083 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.656e-05/1.033, allocations: 9.719 kB / 1.083 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001383/1.033, allocations: 322.8 kB / 1.083 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.443e-05/1.033, allocations: 8 kB / 1.083 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.723e-05/1.033, allocations: 11.98 kB / 1.083 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.452e-05/1.033, allocations: 16.86 kB / 1.083 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.033, allocations: 0 / 1.083 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001253/1.034, allocations: 53.67 kB / 1.083 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/1.034, allocations: 7.938 kB / 1.083 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/1.034, allocations: 4 kB / 1.083 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/1.034, allocations: 0 / 1.083 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.214e-05/1.034, allocations: 8 kB / 1.083 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/1.034, allocations: 7.922 kB / 1.083 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.816e-05/1.034, allocations: 0 / 1.083 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/1.034, allocations: 0 / 1.083 GB, free: 11.27 MB / 0.8419 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 0.0001342/1.034, allocations: 117.8 kB / 1.083 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.797e-06/1.034, allocations: 3.938 kB / 1.083 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001801/1.034, allocations: 57.17 kB / 1.084 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/1.034, allocations: 4 kB / 1.084 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.034, allocations: 0 / 1.084 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/1.034, allocations: 0.5625 kB / 1.084 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/1.034, allocations: 157.6 kB / 1.084 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/1.034, allocations: 0 / 1.084 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.031e-05/1.034, allocations: 4 kB / 1.084 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/1.034, allocations: 3.938 kB / 1.084 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/1.034, allocations: 0 / 1.084 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/1.034, allocations: 7.875 kB / 1.084 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/1.034, allocations: 8 kB / 1.084 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/1.035, allocations: 77.09 kB / 1.084 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.189e-05/1.035, allocations: 81.11 kB / 1.084 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/1.035, allocations: 3.938 kB / 1.084 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.829e-05/1.035, allocations: 0 / 1.084 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/1.035, allocations: 11.92 kB / 1.084 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/1.035, allocations: 0 / 1.084 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.253e-05/1.035, allocations: 83.28 kB / 1.084 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/1.035, allocations: 0 / 1.084 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001875/1.035, allocations: 12 kB / 1.084 GB, free: 10.54 MB / 0.8419 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.0001732/1.035, allocations: 107.2 kB / 1.084 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000142/1.035, allocations: 19.92 kB / 1.084 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/1.035, allocations: 0 / 1.084 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 5.69e-05/1.035, allocations: 15.98 kB / 1.084 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/1.036, allocations: 8 kB / 1.084 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003099/1.036, allocations: 140.5 kB / 1.084 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/1.036, allocations: 0.677 MB / 1.085 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.241e-05/1.036, allocations: 11.95 kB / 1.085 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/1.036, allocations: 7.438 kB / 1.085 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of SimCode: time 6.01e-07/1.036, allocations: 0 / 1.085 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of Templates: time 0.003028/1.039, allocations: 490.9 kB / 1.085 GB, free: 9.023 MB / 0.8419 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches