Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009566/0.0009567, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.006187/0.006187, allocations: 173.7 kB / 16.27 MB, free: 6.648 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.34/1.34, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.526/2.526, allocations: 437.8 MB / 0.7121 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000351/0.000351, allocations: 8 kB / 0.8729 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5824/0.5828, allocations: 153.8 MB / 1.023 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.00152/0.5843, allocations: 1.219 MB / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1272/0.7116, allocations: 128.5 MB / 1.15 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.442e-05/0.7117, allocations: 0 / 1.15 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.078e-05/0.7117, allocations: 3.938 kB / 1.15 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 7.036e-05/0.7118, allocations: 11.92 kB / 1.15 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003257/0.7121, allocations: 62.03 kB / 1.15 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 8.989e-05/0.7122, allocations: 47.8 kB / 1.15 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 8.646e-05/0.7123, allocations: 16 kB / 1.15 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 5.315e-05/0.7124, allocations: 15.92 kB / 1.15 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.663e-05/0.7124, allocations: 23.91 kB / 1.15 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.7124, allocations: 4 kB / 1.15 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 8.577e-05/0.7125, allocations: 15.94 kB / 1.15 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.856e-05/0.7126, allocations: 11.97 kB / 1.15 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 5.249e-05/0.7126, allocations: 45.58 kB / 1.15 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.7128, allocations: 51.73 kB / 1.15 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.7128, allocations: 4 kB / 1.15 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7128, allocations: 0 / 1.15 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.7128, allocations: 0 / 1.15 GB, free: 13.34 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005227/0.7133, allocations: 375.3 kB / 1.15 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.7134, allocations: 8.031 kB / 1.151 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.089e-05/0.7134, allocations: 42.73 kB / 1.151 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.779e-05/0.7134, allocations: 12.86 kB / 1.151 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.7136, allocations: 172.2 kB / 1.151 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.7136, allocations: 4.359 kB / 1.151 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.7136, allocations: 8.375 kB / 1.151 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002621/0.7139, allocations: 90.14 kB / 1.151 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.7139, allocations: 3.938 kB / 1.151 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.7139, allocations: 0 / 1.151 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.7139, allocations: 4 kB / 1.151 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003303/0.7142, allocations: 87.92 kB / 1.151 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003478/0.7146, allocations: 280.8 kB / 1.151 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.7148, allocations: 70.47 kB / 1.151 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.715, allocations: 56.91 kB / 1.151 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001397/0.7152, allocations: 85.11 kB / 1.151 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.7152, allocations: 34.55 kB / 1.151 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.7152, allocations: 0 / 1.151 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0005838/0.7158, allocations: 161.6 kB / 1.152 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.7158, allocations: 55.34 kB / 1.152 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.845e-05/0.7159, allocations: 121.8 kB / 1.152 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.716, allocations: 25.7 kB / 1.152 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.566e-05/0.716, allocations: 88.05 kB / 1.152 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.716, allocations: 11.84 kB / 1.152 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.682e-05/0.7161, allocations: 13.72 kB / 1.152 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.7162, allocations: 318.8 kB / 1.152 GB, free: 11 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.7163, allocations: 43.97 kB / 1.152 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/0.7165, allocations: 47.95 kB / 1.152 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002957/0.7168, allocations: 84.8 kB / 1.152 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.7168, allocations: 0 / 1.152 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003519/0.7172, allocations: 133.5 kB / 1.152 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.7172, allocations: 4 kB / 1.152 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.7172, allocations: 0 / 1.152 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.7172, allocations: 0 / 1.152 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.7174, allocations: 19.98 kB / 1.152 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.7174, allocations: 4 kB / 1.152 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.272e-05/0.7175, allocations: 23.92 kB / 1.153 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.7175, allocations: 4 kB / 1.153 GB, free: 10.64 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 7.796e-05/0.7176, allocations: 118.3 kB / 1.153 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.7176, allocations: 0 / 1.153 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003921/0.718, allocations: 129.8 kB / 1.153 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.718, allocations: 3.984 kB / 1.153 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.718, allocations: 11.98 kB / 1.153 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.718, allocations: 0 / 1.153 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/0.7182, allocations: 181.4 kB / 1.153 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.7182, allocations: 0 / 1.153 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.7183, allocations: 19.98 kB / 1.153 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.7183, allocations: 0 / 1.153 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.7184, allocations: 0 / 1.153 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.7184, allocations: 0 / 1.153 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.7184, allocations: 0 / 1.153 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003907/0.7188, allocations: 227.4 kB / 1.153 GB, free: 9.875 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.839e-05/0.7188, allocations: 81.02 kB / 1.153 GB, free: 9.777 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.7188, allocations: 0 / 1.153 GB, free: 9.777 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.719, allocations: 15.98 kB / 1.153 GB, free: 9.762 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.719, allocations: 11.98 kB / 1.153 GB, free: 9.75 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.719, allocations: 0 / 1.153 GB, free: 9.75 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.054e-05/0.7191, allocations: 99.2 kB / 1.153 GB, free: 9.652 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7191, allocations: 0 / 1.153 GB, free: 9.652 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002348/0.7193, allocations: 16 kB / 1.153 GB, free: 9.637 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.0006535/0.72, allocations: 0.7632 MB / 1.154 GB, free: 8.844 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003532/0.7204, allocations: 91.92 kB / 1.154 GB, free: 8.754 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.7204, allocations: 4 kB / 1.154 GB, free: 8.75 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001633/0.7205, allocations: 51.89 kB / 1.154 GB, free: 8.699 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.7208, allocations: 10.03 kB / 1.154 GB, free: 8.691 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.7226, allocations: 1.507 MB / 1.156 GB, free: 7.109 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002031/0.7228, allocations: 0.6809 MB / 1.156 GB, free: 6.402 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.418e-05/0.7229, allocations: 4 kB / 1.156 GB, free: 6.398 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.843e-05/0.7229, allocations: 23.42 kB / 1.156 GB, free: 6.375 MB / 0.9044 GB Notification: Performance of SimCode: time 3.4e-07/0.7229, allocations: 0 / 1.156 GB, free: 6.375 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01097/0.7339, allocations: 1.725 MB / 1.158 GB, free: 4.785 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/0.7341, allocations: 213 kB / 1.158 GB, free: 4.523 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.697/2.431, allocations: 0 / 1.158 GB, free: 4.523 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches