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.0008064/0.0008065, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.000848/0.000848, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.594/1.594, allocations: 223.3 MB / 240 MB, free: 5.418 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.433/2.433, allocations: 390.9 MB / 0.666 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003324/0.0003324, allocations: 16 kB / 0.8154 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7667/0.7671, allocations: 142.4 MB / 0.9544 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001177/0.7683, allocations: 0.9841 MB / 0.9554 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1404/0.9088, allocations: 119.6 MB / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.619e-05/0.9089, allocations: 0 / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.038e-05/0.9089, allocations: 3.938 kB / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.596e-05/0.909, allocations: 3.984 kB / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.9093, allocations: 47.8 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.008e-05/0.9094, allocations: 31.69 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.906e-05/0.9094, allocations: 0 / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.161e-05/0.9095, allocations: 4 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.475e-05/0.9096, allocations: 11.92 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.9096, allocations: 4 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.463e-05/0.9096, allocations: 8 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.9097, allocations: 11.97 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.841e-05/0.9097, allocations: 25.7 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.012e-05/0.9098, allocations: 21.95 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.9098, allocations: 0 / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9098, allocations: 4 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.9098, allocations: 0 / 1.072 GB, free: 6.434 MB / 0.8262 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.000384/0.9102, allocations: 335.2 kB / 1.073 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.9103, allocations: 12.03 kB / 1.073 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.382e-05/0.9103, allocations: 0 / 1.073 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.9104, allocations: 159.1 kB / 1.073 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.45e-05/0.9105, allocations: 33.7 kB / 1.073 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-06/0.9105, allocations: 0 / 1.073 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.9106, allocations: 45.69 kB / 1.073 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.9107, allocations: 0 / 1.073 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.9107, allocations: 3.953 kB / 1.073 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.9107, allocations: 0 / 1.073 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.569e-05/0.9108, allocations: 15.98 kB / 1.073 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001727/0.9109, allocations: 153.7 kB / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.858e-05/0.9111, allocations: 34.55 kB / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.183e-05/0.9111, allocations: 12.86 kB / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001706/0.9113, allocations: 93.19 kB / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.9113, allocations: 30.56 kB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.372e-06/0.9113, allocations: 0 / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002268/0.9116, allocations: 61.8 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.9116, allocations: 55.36 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.433e-05/0.9117, allocations: 105.8 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.9117, allocations: 29.64 kB / 1.074 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.222e-05/0.9117, allocations: 84.08 kB / 1.074 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.9118, allocations: 15.81 kB / 1.074 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-06/0.9118, allocations: 0 / 1.074 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.9119, allocations: 310.8 kB / 1.074 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.252e-05/0.9119, allocations: 7.984 kB / 1.074 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.298e-05/0.912, allocations: 8 kB / 1.074 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.972e-05/0.912, allocations: 12 kB / 1.074 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.912, allocations: 0 / 1.074 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001105/0.9122, allocations: 49.67 kB / 1.074 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.9122, allocations: 4 kB / 1.074 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.9122, allocations: 0 / 1.074 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.9122, allocations: 4 kB / 1.074 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.332e-05/0.9123, allocations: 7.938 kB / 1.074 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.9123, allocations: 3.953 kB / 1.074 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.022e-05/0.9123, allocations: 7.938 kB / 1.074 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.9123, allocations: 4 kB / 1.074 GB, free: 4.527 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.952e-05/0.9124, allocations: 113.8 kB / 1.074 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.913e-06/0.9124, allocations: 0 / 1.074 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001458/0.9126, allocations: 57.17 kB / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.9126, allocations: 0 / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.9126, allocations: 0 / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.9126, allocations: 3.953 kB / 1.074 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.576e-05/0.9127, allocations: 153.7 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.9127, allocations: 8 kB / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.007e-05/0.9128, allocations: 7.938 kB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.9128, allocations: 0 / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.9128, allocations: 4 kB / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.9128, allocations: 0 / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.9128, allocations: 0 / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.9129, allocations: 84.97 kB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.683e-05/0.913, allocations: 81.11 kB / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.913, allocations: 0 / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.832e-05/0.913, allocations: 4 kB / 1.074 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.9131, allocations: 3.984 kB / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.9131, allocations: 0 / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.759e-05/0.9131, allocations: 83.7 kB / 1.075 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9131, allocations: 3.938 kB / 1.075 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001891/0.9133, allocations: 12 kB / 1.075 GB, free: 3.812 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001777/0.9135, allocations: 119 kB / 1.075 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001215/0.9136, allocations: 19.98 kB / 1.075 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.9137, allocations: 0 / 1.075 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.285e-05/0.9137, allocations: 16.16 kB / 1.075 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.9139, allocations: 9.5 kB / 1.075 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002755/0.9142, allocations: 144.5 kB / 1.075 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.9145, allocations: 0.677 MB / 1.076 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.925e-05/0.9145, allocations: 8.078 kB / 1.076 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.326e-05/0.9145, allocations: 7.438 kB / 1.076 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.9145, allocations: 0 / 1.076 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of Templates: time 0.002505/0.9171, allocations: 485.5 kB / 1.076 GB, free: 2.281 MB / 0.8262 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