Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001782/0.001782, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.003/0.003, allocations: 193.6 kB / 16.14 MB, free: 6.711 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.463/1.463, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.885/2.885, allocations: 437 MB / 0.7099 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 67.89 kB / 0.8686 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6784/0.6804, allocations: 151.6 MB / 1.017 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002558/0.683, allocations: 1.334 MB / 1.018 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1514/0.8344, allocations: 129.9 MB / 1.145 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.473e-05/0.8345, allocations: 0 / 1.145 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.125e-05/0.8345, allocations: 0 / 1.145 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.063e-05/0.8346, allocations: 7.938 kB / 1.145 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003642/0.835, allocations: 47.78 kB / 1.145 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 7.84e-05/0.8351, allocations: 19.92 kB / 1.145 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.02e-05/0.8351, allocations: 4 kB / 1.145 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 4.709e-05/0.8352, allocations: 15.94 kB / 1.145 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 6.084e-05/0.8352, allocations: 15.92 kB / 1.145 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.8353, allocations: 0 / 1.145 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 8.82e-05/0.8354, allocations: 19.98 kB / 1.145 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.412e-05/0.8354, allocations: 0 / 1.145 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.548e-05/0.8354, allocations: 7.938 kB / 1.145 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.8356, allocations: 25.94 kB / 1.145 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.8356, allocations: 0 / 1.145 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8356, allocations: 3.938 kB / 1.145 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.8356, allocations: 0 / 1.145 GB, free: 14.94 MB / 0.9044 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.0005044/0.8361, allocations: 339.5 kB / 1.145 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.8362, allocations: 12.03 kB / 1.145 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.972e-05/0.8362, allocations: 0.9375 kB / 1.145 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.8364, allocations: 172.3 kB / 1.145 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.588e-05/0.8365, allocations: 30.27 kB / 1.145 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.248e-06/0.8365, allocations: 384 / 1.145 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.8366, allocations: 46.19 kB / 1.146 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.8366, allocations: 3.938 kB / 1.146 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.8367, allocations: 3.984 kB / 1.146 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.8367, allocations: 0 / 1.146 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.518e-05/0.8368, allocations: 19.98 kB / 1.146 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001888/0.837, allocations: 157.7 kB / 1.146 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.8371, allocations: 26.67 kB / 1.146 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.669e-05/0.8371, allocations: 16.84 kB / 1.146 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000185/0.8373, allocations: 89.09 kB / 1.146 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.8374, allocations: 38.5 kB / 1.146 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.8374, allocations: 0 / 1.146 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0002526/0.8376, allocations: 65.61 kB / 1.146 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.8377, allocations: 51.41 kB / 1.146 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.823e-05/0.8378, allocations: 93.86 kB / 1.146 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.8378, allocations: 25.7 kB / 1.146 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.437e-05/0.8379, allocations: 80.14 kB / 1.146 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/0.8379, allocations: 19.83 kB / 1.146 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.8379, allocations: 13.72 kB / 1.146 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.8381, allocations: 310.8 kB / 1.146 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.04e-05/0.8381, allocations: 8 kB / 1.146 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.107e-05/0.8382, allocations: 11.92 kB / 1.147 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.135e-05/0.8383, allocations: 24.84 kB / 1.147 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.8383, allocations: 0 / 1.147 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001243/0.8384, allocations: 53.69 kB / 1.147 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.8384, allocations: 7.938 kB / 1.147 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.8384, allocations: 0 / 1.147 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.8385, allocations: 0 / 1.147 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.429e-05/0.8385, allocations: 11.92 kB / 1.147 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.8386, allocations: 0 / 1.147 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.664e-05/0.8386, allocations: 7.906 kB / 1.147 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.8386, allocations: 0 / 1.147 GB, free: 12.98 MB / 0.9044 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 9.177e-05/0.8387, allocations: 114.6 kB / 1.147 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.851e-05/0.8387, allocations: 11.94 kB / 1.147 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001633/0.8389, allocations: 53.69 kB / 1.147 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.8389, allocations: 0 / 1.147 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.8389, allocations: 0 / 1.147 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.8389, allocations: 4 kB / 1.147 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.839, allocations: 149.7 kB / 1.147 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.8391, allocations: 4 kB / 1.147 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.262e-05/0.8391, allocations: 4.047 kB / 1.147 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.8391, allocations: 7.922 kB / 1.147 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.8391, allocations: 4 kB / 1.147 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.8391, allocations: 0 / 1.147 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.8391, allocations: 3.984 kB / 1.147 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.8393, allocations: 77.06 kB / 1.147 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.426e-05/0.8394, allocations: 81.11 kB / 1.147 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.8394, allocations: 11.92 kB / 1.147 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.894e-05/0.8394, allocations: 3.938 kB / 1.147 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.29e-05/0.8395, allocations: 4 kB / 1.147 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.8395, allocations: 4 kB / 1.147 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.916e-05/0.8395, allocations: 75.28 kB / 1.147 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8396, allocations: 0 / 1.147 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001949/0.8398, allocations: 19.98 kB / 1.147 GB, free: 12.25 MB / 0.9044 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.0001711/0.8399, allocations: 111.2 kB / 1.147 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001459/0.8401, allocations: 19.92 kB / 1.147 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.8401, allocations: 4 kB / 1.147 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.968e-05/0.8401, allocations: 12 kB / 1.147 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.8404, allocations: 9.391 kB / 1.147 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002936/0.8407, allocations: 133.3 kB / 1.147 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.841, allocations: 0.6731 MB / 1.148 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.716e-05/0.8411, allocations: 11.98 kB / 1.148 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.042e-05/0.8411, allocations: 7.438 kB / 1.148 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/0.8411, allocations: 3.938 kB / 1.148 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of Templates: time 0.002917/0.844, allocations: 492.7 kB / 1.149 GB, free: 10.74 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches