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.001621/0.001621, allocations: 106.5 kB / 16.41 MB, free: 6.453 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.00168/0.00168, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.557/1.557, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.325/2.325, allocations: 390.2 MB / 0.6655 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 59.91 kB / 0.9515 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8773/0.8785, allocations: 140.4 MB / 1.089 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.00217/0.8807, allocations: 1.28 MB / 1.09 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1627/1.043, allocations: 132 MB / 1.219 GB, free: 2.539 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.754e-05/1.044, allocations: 0 / 1.219 GB, free: 2.539 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.326e-05/1.044, allocations: 1.219 kB / 1.219 GB, free: 2.539 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.946e-05/1.044, allocations: 3.938 kB / 1.219 GB, free: 2.535 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004522/1.044, allocations: 51.86 kB / 1.219 GB, free: 2.5 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.566e-05/1.044, allocations: 30.28 kB / 1.219 GB, free: 2.48 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.458e-05/1.044, allocations: 2.312 kB / 1.219 GB, free: 2.48 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.139e-05/1.044, allocations: 13.36 kB / 1.219 GB, free: 2.473 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.664e-05/1.044, allocations: 12.25 kB / 1.219 GB, free: 2.465 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/1.044, allocations: 1.156 kB / 1.219 GB, free: 2.465 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 8.73e-05/1.045, allocations: 11.3 kB / 1.219 GB, free: 2.461 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.585e-05/1.045, allocations: 4 kB / 1.219 GB, free: 2.457 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.744e-05/1.045, allocations: 8.219 kB / 1.219 GB, free: 2.453 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001197/1.045, allocations: 36.34 kB / 1.219 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/1.045, allocations: 0 / 1.219 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.763e-06/1.045, allocations: 1.344 kB / 1.219 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.791e-06/1.045, allocations: 0 / 1.219 GB, free: 2.434 MB / 0.9512 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.0005206/1.045, allocations: 335.2 kB / 1.219 GB, free: 2.066 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/1.045, allocations: 9.781 kB / 1.219 GB, free: 2.066 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.06e-05/1.045, allocations: 5.969 kB / 1.219 GB, free: 2.062 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/1.045, allocations: 167.3 kB / 1.219 GB, free: 1.863 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.123e-05/1.046, allocations: 28.73 kB / 1.219 GB, free: 1.832 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/1.046, allocations: 1.594 kB / 1.219 GB, free: 1.832 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/1.046, allocations: 41 kB / 1.22 GB, free: 1.793 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/1.046, allocations: 3.938 kB / 1.22 GB, free: 1.789 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/1.046, allocations: 0 / 1.22 GB, free: 1.789 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/1.046, allocations: 5.094 kB / 1.22 GB, free: 1.785 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.241e-05/1.046, allocations: 15.08 kB / 1.22 GB, free: 1.777 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/1.046, allocations: 154.1 kB / 1.22 GB, free: 1.582 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.796e-05/1.046, allocations: 39.31 kB / 1.22 GB, free: 1.543 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.339e-05/1.046, allocations: 14.11 kB / 1.22 GB, free: 1.531 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000165/1.046, allocations: 93.69 kB / 1.22 GB, free: 1.43 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/1.046, allocations: 31.75 kB / 1.22 GB, free: 1.391 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/1.046, allocations: 0 / 1.22 GB, free: 1.391 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0002454/1.047, allocations: 58.52 kB / 1.22 GB, free: 1.344 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/1.047, allocations: 56.59 kB / 1.22 GB, free: 1.277 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.291e-05/1.047, allocations: 97.45 kB / 1.22 GB, free: 1.176 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/1.047, allocations: 29.69 kB / 1.22 GB, free: 1.141 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 2.918e-05/1.047, allocations: 85.2 kB / 1.22 GB, free: 1.055 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/1.047, allocations: 8.938 kB / 1.22 GB, free: 1.047 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/1.047, allocations: 17.19 kB / 1.22 GB, free: 1.027 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001067/1.047, allocations: 312.1 kB / 1.221 GB, free: 0.7148 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.887e-05/1.047, allocations: 8.422 kB / 1.221 GB, free: 0.7109 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.767e-05/1.047, allocations: 8.312 kB / 1.221 GB, free: 0.707 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.492e-05/1.047, allocations: 22.59 kB / 1.221 GB, free: 0.6914 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/1.047, allocations: 4 kB / 1.221 GB, free: 0.6875 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001339/1.047, allocations: 59.62 kB / 1.221 GB, free: 0.6367 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/1.047, allocations: 9 kB / 1.221 GB, free: 0.6328 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/1.047, allocations: 1.25 kB / 1.221 GB, free: 0.6328 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/1.047, allocations: 0 / 1.221 GB, free: 0.6328 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.807e-05/1.048, allocations: 8.922 kB / 1.221 GB, free: 0.6289 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/1.048, allocations: 1.25 kB / 1.221 GB, free: 0.6289 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.899e-05/1.048, allocations: 1.406 kB / 1.221 GB, free: 0.6289 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/1.048, allocations: 0 / 1.221 GB, free: 0.6289 MB / 0.9512 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.108e-05/1.048, allocations: 111.3 kB / 1.221 GB, free: 0.5117 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.056e-05/1.048, allocations: 5.469 kB / 1.221 GB, free: 0.5078 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001714/1.048, allocations: 59.61 kB / 1.221 GB, free: 464 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/1.048, allocations: 0 / 1.221 GB, free: 464 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/1.048, allocations: 5.125 kB / 1.221 GB, free: 460 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/1.048, allocations: 3.938 kB / 1.221 GB, free: 456 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/1.048, allocations: 153 kB / 1.221 GB, free: 256 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/1.048, allocations: 1.031 kB / 1.221 GB, free: 256 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.569e-05/1.048, allocations: 8.859 kB / 1.221 GB, free: 252 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/1.048, allocations: 7.938 kB / 1.221 GB, free: 244 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/1.048, allocations: 1.156 kB / 1.221 GB, free: 244 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/1.048, allocations: 0 / 1.221 GB, free: 244 kB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.048, allocations: 1.75 kB / 1.221 GB, free: 244 kB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/1.048, allocations: 68.72 kB / 1.221 GB, free: 172 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.587e-05/1.048, allocations: 90.06 kB / 1.221 GB, free: 64 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/1.048, allocations: 7.875 kB / 1.221 GB, free: 56 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.954e-05/1.048, allocations: 10.41 kB / 1.221 GB, free: 48 kB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/1.048, allocations: 1.188 kB / 1.221 GB, free: 48 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/1.048, allocations: 1.594 kB / 1.221 GB, free: 48 kB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.939e-05/1.048, allocations: 80.83 kB / 1.221 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.353e-06/1.048, allocations: 0 / 1.221 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001894/1.049, allocations: 13.69 kB / 1.221 GB, free: 15.96 MB / 0.9669 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.0001567/1.049, allocations: 107.1 kB / 1.221 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001366/1.049, allocations: 24.17 kB / 1.221 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/1.049, allocations: 1.156 kB / 1.221 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.611e-05/1.049, allocations: 11.03 kB / 1.221 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/1.049, allocations: 11.08 kB / 1.221 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003191/1.05, allocations: 160.7 kB / 1.222 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/1.05, allocations: 0.6769 MB / 1.222 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.173e-05/1.05, allocations: 13.47 kB / 1.222 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/1.05, allocations: 0 / 1.222 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of Templates: time 0.002017/1.052, allocations: 0.5692 MB / 1.223 GB, free: 14.7 MB / 0.9669 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