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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001059/0.001059, allocations: 92.7 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002528/0.002528, allocations: 183.8 kB / 16.92 MB, free: 6.922 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.437/1.437, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.52/2.52, allocations: 390.9 MB / 0.667 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003158/0.0003159, allocations: 8.234 kB / 0.8166 GB, free: 13.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6728/0.6731, allocations: 142.4 MB / 0.9557 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001322/0.6745, allocations: 0.9981 MB / 0.9567 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1422/0.8167, allocations: 128.5 MB / 1.082 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.515e-05/0.8168, allocations: 4 kB / 1.082 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.259e-05/0.8168, allocations: 0 / 1.082 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.119e-05/0.8169, allocations: 3.938 kB / 1.082 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003527/0.8173, allocations: 47.8 kB / 1.082 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.499e-05/0.8174, allocations: 23.86 kB / 1.082 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.646e-05/0.8174, allocations: 4 kB / 1.082 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.536e-05/0.8175, allocations: 4 kB / 1.082 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.235e-05/0.8175, allocations: 19.91 kB / 1.082 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.8176, allocations: 0 / 1.082 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.453e-05/0.8176, allocations: 11.94 kB / 1.082 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.8177, allocations: 15.92 kB / 1.082 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.85e-05/0.8177, allocations: 29.7 kB / 1.082 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 8.211e-05/0.8178, allocations: 21.95 kB / 1.082 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.8178, allocations: 0 / 1.082 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.637e-06/0.8178, allocations: 0 / 1.082 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.8179, allocations: 3.938 kB / 1.082 GB, free: 13.25 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.0004124/0.8183, allocations: 331.5 kB / 1.083 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.8183, allocations: 12.03 kB / 1.083 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.8184, allocations: 0.9375 kB / 1.083 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.8185, allocations: 172.4 kB / 1.083 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.715e-05/0.8186, allocations: 26.27 kB / 1.083 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.8186, allocations: 4.375 kB / 1.083 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.8187, allocations: 38.25 kB / 1.083 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.8188, allocations: 3.938 kB / 1.083 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.8188, allocations: 3.984 kB / 1.083 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.8188, allocations: 0 / 1.083 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.645e-05/0.8189, allocations: 11.94 kB / 1.083 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001794/0.8191, allocations: 157.7 kB / 1.083 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.582e-05/0.8192, allocations: 30.61 kB / 1.083 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.278e-05/0.8192, allocations: 16.86 kB / 1.083 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001741/0.8194, allocations: 89.19 kB / 1.083 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.8195, allocations: 30.56 kB / 1.083 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.8195, allocations: 4 kB / 1.083 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0002474/0.8197, allocations: 69.45 kB / 1.083 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.8198, allocations: 51.41 kB / 1.083 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.738e-05/0.8199, allocations: 101.8 kB / 1.083 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.8199, allocations: 25.7 kB / 1.083 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.087e-05/0.8199, allocations: 80.14 kB / 1.084 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.82, allocations: 11.84 kB / 1.084 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-05/0.82, allocations: 9.719 kB / 1.084 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.8201, allocations: 318.8 kB / 1.084 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.817e-05/0.8202, allocations: 7.984 kB / 1.084 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.872e-05/0.8202, allocations: 8 kB / 1.084 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.032e-05/0.8203, allocations: 20.84 kB / 1.084 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.8203, allocations: 7.938 kB / 1.084 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001278/0.8205, allocations: 46.16 kB / 1.084 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.8205, allocations: 9.344 kB / 1.084 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.8205, allocations: 4 kB / 1.084 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.8205, allocations: 4 kB / 1.084 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.432e-05/0.8206, allocations: 11.92 kB / 1.084 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.8206, allocations: 3.938 kB / 1.084 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.92e-05/0.8207, allocations: 0 / 1.084 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.8207, allocations: 4 kB / 1.084 GB, free: 11.31 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 7.846e-05/0.8207, allocations: 105.8 kB / 1.084 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/0.8208, allocations: 3.984 kB / 1.084 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000172/0.8209, allocations: 73.09 kB / 1.084 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.821, allocations: 0 / 1.084 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.821, allocations: 0 / 1.084 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.821, allocations: 0 / 1.084 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.8211, allocations: 165.6 kB / 1.084 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.8211, allocations: 0 / 1.084 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.24e-05/0.8212, allocations: 7.984 kB / 1.084 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.8212, allocations: 7.938 kB / 1.084 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.8212, allocations: 0 / 1.084 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.8212, allocations: 0 / 1.084 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.8212, allocations: 4 kB / 1.084 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.8213, allocations: 73.06 kB / 1.084 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.491e-05/0.8214, allocations: 81.09 kB / 1.085 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.8214, allocations: 3.938 kB / 1.085 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.181e-05/0.8215, allocations: 8 kB / 1.085 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.8215, allocations: 0 / 1.085 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.8215, allocations: 0 / 1.085 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.657e-05/0.8216, allocations: 87.27 kB / 1.085 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8216, allocations: 0 / 1.085 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001936/0.8218, allocations: 8 kB / 1.085 GB, free: 10.59 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.0001551/0.8219, allocations: 107.2 kB / 1.085 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001406/0.8221, allocations: 19.98 kB / 1.085 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8221, allocations: 0 / 1.085 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.896e-05/0.8222, allocations: 11.94 kB / 1.085 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.8224, allocations: 18.09 kB / 1.085 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003283/0.8228, allocations: 170.2 kB / 1.085 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.823, allocations: 0.6731 MB / 1.086 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.573e-05/0.8231, allocations: 7.438 kB / 1.086 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of SimCode: time 2.01e-07/0.8231, allocations: 0 / 1.086 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of Templates: time 0.00207/0.8252, allocations: 0.5776 MB / 1.086 GB, free: 8.941 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/jenkins1/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