Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_9_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.001496/0.001496, allocations: 108 kB / 15.6 MB, free: 132 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.001746/0.001746, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.279/1.279, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.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.223/2.223, allocations: 390.3 MB / 0.6647 GB, free: 276 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 63.91 kB / 0.8126 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4736/0.4748, allocations: 140.4 MB / 0.9497 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001894/0.4768, allocations: 1.488 MB / 0.9512 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1138/0.5905, allocations: 132.1 MB / 1.08 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.348e-05/0.5906, allocations: 8 kB / 1.08 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.992e-05/0.5907, allocations: 3.938 kB / 1.08 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.069e-05/0.5908, allocations: 11.86 kB / 1.08 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000302/0.5911, allocations: 65.95 kB / 1.08 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.158e-05/0.5911, allocations: 51.86 kB / 1.08 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.069e-05/0.5912, allocations: 11.98 kB / 1.08 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.189e-05/0.5913, allocations: 23.81 kB / 1.08 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.617e-05/0.5913, allocations: 27.86 kB / 1.08 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.5913, allocations: 4 kB / 1.08 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.007e-05/0.5914, allocations: 23.92 kB / 1.08 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.281e-05/0.5914, allocations: 4 kB / 1.08 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.445e-05/0.5915, allocations: 27.86 kB / 1.08 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.5916, allocations: 59.8 kB / 1.08 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.5916, allocations: 0 / 1.08 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5916, allocations: 0 / 1.08 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.5916, allocations: 4 kB / 1.08 GB, free: 11.47 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004492/0.5921, allocations: 371.2 kB / 1.081 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.5921, allocations: 12.03 kB / 1.081 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.112e-05/0.5922, allocations: 38.73 kB / 1.081 GB, free: 11 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.668e-05/0.5922, allocations: 8.844 kB / 1.081 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.469e-05/0.5923, allocations: 168.3 kB / 1.081 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.5923, allocations: 384 / 1.081 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.5923, allocations: 384 / 1.081 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002368/0.5926, allocations: 86.12 kB / 1.081 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.5926, allocations: 3.938 kB / 1.081 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.5926, allocations: 8 kB / 1.081 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.5926, allocations: 0 / 1.081 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002783/0.5929, allocations: 67.91 kB / 1.081 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003068/0.5932, allocations: 288.7 kB / 1.081 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.5934, allocations: 54.48 kB / 1.082 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/0.5936, allocations: 40.84 kB / 1.082 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001581/0.5937, allocations: 93.09 kB / 1.082 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.5938, allocations: 38.56 kB / 1.082 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.5938, allocations: 0 / 1.082 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0004997/0.5943, allocations: 125.5 kB / 1.082 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.5943, allocations: 59.34 kB / 1.082 GB, free: 9.828 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.881e-05/0.5944, allocations: 121.8 kB / 1.082 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.5944, allocations: 25.7 kB / 1.082 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.235e-05/0.5944, allocations: 84.14 kB / 1.082 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/0.5945, allocations: 7.906 kB / 1.082 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.053e-05/0.5945, allocations: 13.72 kB / 1.082 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 8.075e-05/0.5946, allocations: 322.8 kB / 1.082 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.5947, allocations: 31.97 kB / 1.082 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.5949, allocations: 35.95 kB / 1.082 GB, free: 9.164 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002462/0.5951, allocations: 64.78 kB / 1.083 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.5951, allocations: 0 / 1.083 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002959/0.5954, allocations: 105.5 kB / 1.083 GB, free: 8.988 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.5954, allocations: 9.344 kB / 1.083 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.5954, allocations: 3.938 kB / 1.083 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.377e-06/0.5955, allocations: 0 / 1.083 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.5956, allocations: 15.98 kB / 1.083 GB, free: 8.961 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.5956, allocations: 0 / 1.083 GB, free: 8.961 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.838e-05/0.5957, allocations: 27.91 kB / 1.083 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.5957, allocations: 0 / 1.083 GB, free: 8.934 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 5.806e-05/0.5957, allocations: 113.8 kB / 1.083 GB, free: 8.812 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.5958, allocations: 3.906 kB / 1.083 GB, free: 8.809 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003316/0.5961, allocations: 105.5 kB / 1.083 GB, free: 8.691 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.5961, allocations: 0 / 1.083 GB, free: 8.691 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.5961, allocations: 4.375 kB / 1.083 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.5961, allocations: 4 kB / 1.083 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.5963, allocations: 177.6 kB / 1.083 GB, free: 8.461 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.5963, allocations: 3.938 kB / 1.083 GB, free: 8.457 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.846e-05/0.5964, allocations: 11.98 kB / 1.083 GB, free: 8.445 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.5964, allocations: 7.984 kB / 1.083 GB, free: 8.438 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.5964, allocations: 0 / 1.083 GB, free: 8.438 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.5964, allocations: 0 / 1.083 GB, free: 8.438 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.5964, allocations: 0 / 1.083 GB, free: 8.438 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003242/0.5967, allocations: 199.4 kB / 1.083 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.21e-05/0.5968, allocations: 85.02 kB / 1.083 GB, free: 8.125 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.5968, allocations: 0 / 1.083 GB, free: 8.125 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.5969, allocations: 11.98 kB / 1.083 GB, free: 8.113 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.5969, allocations: 11.98 kB / 1.083 GB, free: 8.102 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.597, allocations: 3.938 kB / 1.083 GB, free: 8.098 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.337e-05/0.597, allocations: 95.27 kB / 1.083 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.597, allocations: 0 / 1.083 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002124/0.5972, allocations: 12 kB / 1.084 GB, free: 7.992 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.0005705/0.5978, allocations: 0.745 MB / 1.084 GB, free: 7.223 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003119/0.5981, allocations: 71.91 kB / 1.084 GB, free: 7.152 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.5981, allocations: 0 / 1.084 GB, free: 7.152 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.5983, allocations: 43.91 kB / 1.084 GB, free: 7.109 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.5986, allocations: 20.67 kB / 1.084 GB, free: 7.09 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.6001, allocations: 1.411 MB / 1.086 GB, free: 5.602 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001815/0.6003, allocations: 0.6883 MB / 1.086 GB, free: 4.887 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.765e-05/0.6003, allocations: 4.25 kB / 1.086 GB, free: 4.883 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.539e-05/0.6004, allocations: 15.44 kB / 1.086 GB, free: 4.867 MB / 0.8419 GB Notification: Performance of SimCode: time 1.343e-06/0.6004, allocations: 0 / 1.086 GB, free: 4.867 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.256/2.857, allocations: 2.054 MB / 1.088 GB, free: 2.898 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.227/12.08, allocations: 2.5 kB / 1.088 GB, free: 2.898 MB / 0.8419 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches