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.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: "" <> 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.00131/0.00131, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00144/0.00144, allocations: 191.7 kB / 16.14 MB, free: 6.699 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.278/1.278, allocations: 222.9 MB / 239.8 MB, free: 4.629 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.293/2.293, allocations: 390.2 MB / 0.6643 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 67.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5551/0.5564, allocations: 140.3 MB / 0.949 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002199/0.5587, allocations: 1.549 MB / 0.9505 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1309/0.6895, allocations: 129.9 MB / 1.077 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.632e-05/0.6897, allocations: 0 / 1.077 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.762e-05/0.6897, allocations: 3.938 kB / 1.077 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.511e-05/0.6898, allocations: 19.91 kB / 1.077 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000315/0.6901, allocations: 58.05 kB / 1.078 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.197e-05/0.6902, allocations: 47.84 kB / 1.078 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.925e-05/0.6903, allocations: 12 kB / 1.078 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.256e-05/0.6903, allocations: 19.92 kB / 1.078 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.615e-05/0.6904, allocations: 23.84 kB / 1.078 GB, free: 14 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.6904, allocations: 4 kB / 1.078 GB, free: 14 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.894e-05/0.6905, allocations: 19.92 kB / 1.078 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.598e-05/0.6905, allocations: 15.98 kB / 1.078 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.547e-05/0.6906, allocations: 15.88 kB / 1.078 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001206/0.6907, allocations: 59.81 kB / 1.078 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.6907, allocations: 0 / 1.078 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of FrontEnd: time 8.01e-07/0.6907, allocations: 0 / 1.078 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.6907, allocations: 0 / 1.078 GB, free: 13.89 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.0005048/0.6912, allocations: 371.3 kB / 1.078 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.6913, allocations: 11.97 kB / 1.078 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.561e-05/0.6913, allocations: 38.75 kB / 1.078 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.94e-05/0.6914, allocations: 8.844 kB / 1.078 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.6915, allocations: 176.3 kB / 1.078 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.6915, allocations: 4.359 kB / 1.078 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.6915, allocations: 4.375 kB / 1.078 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002394/0.6918, allocations: 74.16 kB / 1.078 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.6918, allocations: 7.938 kB / 1.078 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.6918, allocations: 4 kB / 1.078 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.6918, allocations: 4 kB / 1.078 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002743/0.6921, allocations: 67.92 kB / 1.078 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003237/0.6924, allocations: 280.7 kB / 1.079 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.6926, allocations: 62.47 kB / 1.079 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.6928, allocations: 36.92 kB / 1.079 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001464/0.6929, allocations: 89.09 kB / 1.079 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.693, allocations: 34.56 kB / 1.079 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.193e-06/0.693, allocations: 4 kB / 1.079 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0004959/0.6935, allocations: 133.4 kB / 1.079 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.6935, allocations: 59.34 kB / 1.079 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.033e-05/0.6936, allocations: 117.8 kB / 1.079 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.6936, allocations: 29.7 kB / 1.079 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.832e-05/0.6937, allocations: 92.12 kB / 1.079 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.617e-05/0.6937, allocations: 3.906 kB / 1.079 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.6937, allocations: 17.72 kB / 1.079 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.6938, allocations: 314.8 kB / 1.08 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.694, allocations: 35.95 kB / 1.08 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.6941, allocations: 31.97 kB / 1.08 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002412/0.6944, allocations: 68.78 kB / 1.08 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6944, allocations: 0 / 1.08 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000299/0.6947, allocations: 105.5 kB / 1.08 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.6947, allocations: 4 kB / 1.08 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.6947, allocations: 0 / 1.08 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.6947, allocations: 0 / 1.08 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.6948, allocations: 23.91 kB / 1.08 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.6948, allocations: 0 / 1.08 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.806e-05/0.6949, allocations: 19.92 kB / 1.08 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.261e-06/0.6949, allocations: 0 / 1.08 GB, free: 11.35 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 6.752e-05/0.695, allocations: 117.8 kB / 1.08 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.695, allocations: 3.906 kB / 1.08 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000332/0.6954, allocations: 105.8 kB / 1.08 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.6954, allocations: 7.984 kB / 1.08 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.6954, allocations: 0 / 1.08 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.6954, allocations: 7.969 kB / 1.08 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.6956, allocations: 173.7 kB / 1.08 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.6956, allocations: 4 kB / 1.08 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.798e-05/0.6957, allocations: 19.97 kB / 1.08 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.6957, allocations: 0 / 1.08 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.6957, allocations: 0 / 1.08 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.6957, allocations: 0 / 1.08 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.6957, allocations: 0 / 1.08 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003313/0.696, allocations: 199.4 kB / 1.081 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.467e-05/0.6961, allocations: 85 kB / 1.081 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.6961, allocations: 0 / 1.081 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.6962, allocations: 15.98 kB / 1.081 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.406e-05/0.6963, allocations: 4 kB / 1.081 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-06/0.6963, allocations: 7.984 kB / 1.081 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.209e-05/0.6963, allocations: 87.28 kB / 1.081 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.864e-06/0.6964, allocations: 4 kB / 1.081 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002246/0.6966, allocations: 15.94 kB / 1.081 GB, free: 10.4 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.0006626/0.6973, allocations: 0.7474 MB / 1.082 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003135/0.6976, allocations: 67.92 kB / 1.082 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.6976, allocations: 0 / 1.082 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.6978, allocations: 39.89 kB / 1.082 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.6981, allocations: 16 kB / 1.082 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.6998, allocations: 1.42 MB / 1.083 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.7001, allocations: 0.6809 MB / 1.084 GB, free: 7.297 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.652e-05/0.7001, allocations: 7.984 kB / 1.084 GB, free: 7.289 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.169e-05/0.7001, allocations: 15.44 kB / 1.084 GB, free: 7.273 MB / 0.8419 GB Notification: Performance of SimCode: time 2.1e-07/0.7001, allocations: 0 / 1.084 GB, free: 7.273 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01089/0.711, allocations: 1.798 MB / 1.085 GB, free: 5.59 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001754/0.7113, allocations: 210 kB / 1.086 GB, free: 5.328 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.637/2.349, allocations: 0 / 1.086 GB, free: 5.328 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