Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.009706/0.009706, allocations: 100.4 kB / 15.73 MB, free: 6.492 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.002103/0.002103, allocations: 193.8 kB / 16.68 MB, free: 6.371 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.876/2.876, allocations: 469.8 MB / 0.7425 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 67.89 kB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3582, allocations: 159.1 MB / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002395/0.3606, allocations: 1.285 MB / 1.222 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.9171/1.278, allocations: 132.4 MB / 1.351 GB, free: 11.18 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.858e-05/1.278, allocations: 0 / 1.351 GB, free: 11.18 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.356e-05/1.278, allocations: 0.6094 kB / 1.351 GB, free: 11.18 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.594e-05/1.278, allocations: 5.797 kB / 1.351 GB, free: 11.18 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003859/1.278, allocations: 54.77 kB / 1.351 GB, free: 11.15 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.989e-05/1.278, allocations: 29.83 kB / 1.351 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.655e-05/1.278, allocations: 1.609 kB / 1.351 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.53e-05/1.278, allocations: 10.83 kB / 1.351 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.9e-05/1.278, allocations: 13.25 kB / 1.351 GB, free: 11.13 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/1.278, allocations: 1.062 kB / 1.351 GB, free: 11.13 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.213e-05/1.279, allocations: 10.09 kB / 1.351 GB, free: 11.13 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.731e-05/1.279, allocations: 5.812 kB / 1.351 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.679e-05/1.279, allocations: 8.562 kB / 1.351 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001336/1.279, allocations: 33.75 kB / 1.351 GB, free: 11.11 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/1.279, allocations: 1.312 kB / 1.351 GB, free: 11.11 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.283e-06/1.279, allocations: 0 / 1.351 GB, free: 11.11 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.249e-06/1.279, allocations: 1.094 kB / 1.351 GB, free: 11.11 MB / 1.061 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.0004143/1.279, allocations: 336.2 kB / 1.352 GB, free: 10.75 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/1.279, allocations: 9.688 kB / 1.352 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.749e-05/1.279, allocations: 7.109 kB / 1.352 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/1.279, allocations: 166.8 kB / 1.352 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.833e-05/1.279, allocations: 30.61 kB / 1.352 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.056e-06/1.279, allocations: 1.469 kB / 1.352 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/1.28, allocations: 39.11 kB / 1.352 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/1.28, allocations: 5.219 kB / 1.352 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/1.28, allocations: 0.8438 kB / 1.352 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/1.28, allocations: 4 kB / 1.352 GB, free: 10.47 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9e-05/1.28, allocations: 11.25 kB / 1.352 GB, free: 10.47 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001626/1.28, allocations: 153.5 kB / 1.352 GB, free: 10.28 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/1.28, allocations: 33.11 kB / 1.352 GB, free: 10.25 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.94e-05/1.28, allocations: 11.97 kB / 1.352 GB, free: 10.24 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001904/1.28, allocations: 93.08 kB / 1.352 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/1.28, allocations: 35.31 kB / 1.352 GB, free: 10.1 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/1.28, allocations: 0.875 kB / 1.352 GB, free: 10.1 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0002489/1.28, allocations: 57.61 kB / 1.352 GB, free: 10.06 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/1.281, allocations: 54.61 kB / 1.352 GB, free: 10 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.294e-05/1.281, allocations: 98.58 kB / 1.352 GB, free: 9.898 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/1.281, allocations: 30.31 kB / 1.352 GB, free: 9.863 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.408e-05/1.281, allocations: 85.2 kB / 1.353 GB, free: 9.777 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.393e-05/1.281, allocations: 9.734 kB / 1.353 GB, free: 9.77 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/1.281, allocations: 13.72 kB / 1.353 GB, free: 9.754 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001135/1.281, allocations: 316.9 kB / 1.353 GB, free: 9.438 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.262e-05/1.281, allocations: 6.406 kB / 1.353 GB, free: 9.438 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.04e-05/1.281, allocations: 6.266 kB / 1.353 GB, free: 9.438 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.228e-05/1.281, allocations: 22.12 kB / 1.353 GB, free: 9.426 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/1.281, allocations: 5.094 kB / 1.353 GB, free: 9.422 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00013/1.281, allocations: 56.92 kB / 1.353 GB, free: 9.379 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/1.281, allocations: 9.062 kB / 1.353 GB, free: 9.375 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/1.281, allocations: 0 / 1.353 GB, free: 9.375 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/1.281, allocations: 5.828 kB / 1.353 GB, free: 9.371 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.122e-05/1.281, allocations: 9.453 kB / 1.353 GB, free: 9.367 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/1.281, allocations: 1.594 kB / 1.353 GB, free: 9.367 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.278e-05/1.281, allocations: 1.547 kB / 1.353 GB, free: 9.367 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/1.281, allocations: 1.094 kB / 1.353 GB, free: 9.367 MB / 1.061 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.238e-05/1.281, allocations: 116.7 kB / 1.353 GB, free: 9.246 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/1.281, allocations: 5.766 kB / 1.353 GB, free: 9.242 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001692/1.282, allocations: 53.48 kB / 1.353 GB, free: 9.203 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/1.282, allocations: 1.062 kB / 1.353 GB, free: 9.203 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/1.282, allocations: 2.219 kB / 1.353 GB, free: 9.203 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/1.282, allocations: 0.5625 kB / 1.353 GB, free: 9.203 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/1.282, allocations: 156 kB / 1.353 GB, free: 9.008 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/1.282, allocations: 1.797 kB / 1.353 GB, free: 9.008 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.946e-05/1.282, allocations: 14.28 kB / 1.353 GB, free: 9 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/1.282, allocations: 3.938 kB / 1.353 GB, free: 8.996 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/1.282, allocations: 1.062 kB / 1.353 GB, free: 8.996 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/1.282, allocations: 2.375 kB / 1.353 GB, free: 8.996 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.282, allocations: 1.188 kB / 1.353 GB, free: 8.996 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001523/1.282, allocations: 77.7 kB / 1.353 GB, free: 8.922 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.047e-05/1.282, allocations: 80.89 kB / 1.353 GB, free: 8.828 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/1.282, allocations: 4.688 kB / 1.353 GB, free: 8.824 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.181e-05/1.282, allocations: 5.953 kB / 1.353 GB, free: 8.82 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/1.282, allocations: 3.094 kB / 1.353 GB, free: 8.82 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/1.282, allocations: 1.719 kB / 1.353 GB, free: 8.82 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.806e-05/1.282, allocations: 82.67 kB / 1.354 GB, free: 8.742 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.282, allocations: 0 / 1.354 GB, free: 8.742 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000211/1.282, allocations: 8.062 kB / 1.354 GB, free: 8.742 MB / 1.061 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.0001661/1.282, allocations: 120.2 kB / 1.354 GB, free: 8.641 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001463/1.283, allocations: 23.69 kB / 1.354 GB, free: 8.633 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/1.283, allocations: 0 / 1.354 GB, free: 8.633 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.092e-05/1.283, allocations: 9.906 kB / 1.354 GB, free: 8.633 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/1.283, allocations: 8.375 kB / 1.354 GB, free: 8.629 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003405/1.283, allocations: 137.6 kB / 1.354 GB, free: 8.504 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/1.284, allocations: 0.6752 MB / 1.355 GB, free: 7.809 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.349e-05/1.284, allocations: 9.062 kB / 1.355 GB, free: 7.805 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.305e-05/1.284, allocations: 9.5 kB / 1.355 GB, free: 7.797 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/1.284, allocations: 1.094 kB / 1.355 GB, free: 7.797 MB / 1.061 GB Notification: Performance of Templates: time 0.002905/1.286, allocations: 0.5292 MB / 1.355 GB, free: 7.715 MB / 1.061 GB make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches