Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001374/0.001374, allocations: 106 kB / 15.99 MB, free: 5.836 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.001464/0.001464, allocations: 197.7 kB / 16.91 MB, free: 5.707 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: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.608/2.608, allocations: 469.4 MB / 0.7423 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 68 kB / 0.9083 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3419, allocations: 159.1 MB / 1.064 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002623/0.3446, allocations: 1.34 MB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.6458/0.9903, allocations: 130.1 MB / 1.192 GB, free: 13.54 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.691e-05/0.9904, allocations: 1.062 kB / 1.192 GB, free: 13.54 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.733e-05/0.9905, allocations: 3.938 kB / 1.192 GB, free: 13.54 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.774e-05/0.9906, allocations: 5.109 kB / 1.192 GB, free: 13.54 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003832/0.991, allocations: 57.91 kB / 1.192 GB, free: 13.51 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.538e-05/0.9911, allocations: 22.94 kB / 1.192 GB, free: 13.5 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.183e-05/0.9911, allocations: 4.375 kB / 1.192 GB, free: 13.5 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.08e-05/0.9912, allocations: 5.812 kB / 1.192 GB, free: 13.5 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.641e-05/0.9912, allocations: 14.38 kB / 1.192 GB, free: 13.49 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.9913, allocations: 0.9375 kB / 1.192 GB, free: 13.49 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.48e-05/0.9913, allocations: 8.188 kB / 1.192 GB, free: 13.49 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.858e-05/0.9914, allocations: 8.922 kB / 1.192 GB, free: 13.49 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.918e-05/0.9914, allocations: 11.83 kB / 1.192 GB, free: 13.48 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 8.041e-05/0.9915, allocations: 15.89 kB / 1.192 GB, free: 13.48 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.9915, allocations: 4 kB / 1.192 GB, free: 13.48 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.106e-06/0.9915, allocations: 0 / 1.192 GB, free: 13.48 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.208e-06/0.9915, allocations: 5.375 kB / 1.192 GB, free: 13.47 MB / 0.92 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.000409/0.9919, allocations: 328.2 kB / 1.193 GB, free: 13.12 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.992, allocations: 10.47 kB / 1.193 GB, free: 13.12 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.992, allocations: 2.094 kB / 1.193 GB, free: 13.12 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.9922, allocations: 172.2 kB / 1.193 GB, free: 12.91 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.125e-05/0.9922, allocations: 29.8 kB / 1.193 GB, free: 12.88 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-06/0.9923, allocations: 1.938 kB / 1.193 GB, free: 12.88 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.9924, allocations: 41.75 kB / 1.193 GB, free: 12.85 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.9924, allocations: 3.938 kB / 1.193 GB, free: 12.84 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.9924, allocations: 0 / 1.193 GB, free: 12.84 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.9924, allocations: 1.312 kB / 1.193 GB, free: 12.84 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.432e-05/0.9925, allocations: 14.23 kB / 1.193 GB, free: 12.84 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001654/0.9927, allocations: 157.1 kB / 1.193 GB, free: 12.64 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.9928, allocations: 35.11 kB / 1.193 GB, free: 12.61 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.074e-05/0.9929, allocations: 10.14 kB / 1.193 GB, free: 12.6 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001681/0.993, allocations: 90.34 kB / 1.193 GB, free: 12.5 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.9931, allocations: 35.97 kB / 1.193 GB, free: 12.46 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.9931, allocations: 0 / 1.193 GB, free: 12.46 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0002286/0.9933, allocations: 63.27 kB / 1.193 GB, free: 12.41 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.9933, allocations: 56.84 kB / 1.193 GB, free: 12.34 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.892e-05/0.9934, allocations: 96.72 kB / 1.193 GB, free: 12.24 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.9935, allocations: 33.64 kB / 1.193 GB, free: 12.2 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.531e-05/0.9935, allocations: 81.52 kB / 1.193 GB, free: 12.12 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.9935, allocations: 9.875 kB / 1.193 GB, free: 12.11 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/0.9936, allocations: 12.44 kB / 1.193 GB, free: 12.1 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.9937, allocations: 316 kB / 1.194 GB, free: 11.78 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.62e-05/0.9937, allocations: 8.328 kB / 1.194 GB, free: 11.78 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.467e-05/0.9938, allocations: 8.844 kB / 1.194 GB, free: 11.77 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.522e-05/0.9939, allocations: 26.98 kB / 1.194 GB, free: 11.75 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.9939, allocations: 0 / 1.194 GB, free: 11.75 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000125/0.994, allocations: 56.38 kB / 1.194 GB, free: 11.71 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.994, allocations: 8.969 kB / 1.194 GB, free: 11.7 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.994, allocations: 0 / 1.194 GB, free: 11.7 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.9941, allocations: 3.984 kB / 1.194 GB, free: 11.7 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.974e-05/0.9941, allocations: 5 kB / 1.194 GB, free: 11.7 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.9942, allocations: 6.094 kB / 1.194 GB, free: 11.7 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.249e-05/0.9942, allocations: 5.375 kB / 1.194 GB, free: 11.69 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.9942, allocations: 1.281 kB / 1.194 GB, free: 11.69 MB / 0.92 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.024e-05/0.9943, allocations: 111.2 kB / 1.194 GB, free: 11.57 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.108e-05/0.9943, allocations: 5.25 kB / 1.194 GB, free: 11.57 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001752/0.9945, allocations: 57.86 kB / 1.194 GB, free: 11.52 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.9945, allocations: 1.156 kB / 1.194 GB, free: 11.52 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.9945, allocations: 0.875 kB / 1.194 GB, free: 11.52 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.9945, allocations: 5.094 kB / 1.194 GB, free: 11.52 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.9946, allocations: 153.2 kB / 1.194 GB, free: 11.32 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.9946, allocations: 0 / 1.194 GB, free: 11.32 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.336e-05/0.9947, allocations: 9.828 kB / 1.194 GB, free: 11.32 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.9947, allocations: 3.938 kB / 1.194 GB, free: 11.31 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.9947, allocations: 5.125 kB / 1.194 GB, free: 11.31 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.9947, allocations: 0 / 1.194 GB, free: 11.31 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.9947, allocations: 0 / 1.194 GB, free: 11.31 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/0.9949, allocations: 76.47 kB / 1.194 GB, free: 11.23 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.694e-05/0.9949, allocations: 83.41 kB / 1.194 GB, free: 11.14 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.995, allocations: 3.938 kB / 1.194 GB, free: 11.13 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.838e-05/0.995, allocations: 1.156 kB / 1.194 GB, free: 11.13 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.683e-05/0.995, allocations: 2.656 kB / 1.194 GB, free: 11.13 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.995, allocations: 3.938 kB / 1.194 GB, free: 11.13 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.22e-05/0.9951, allocations: 89.83 kB / 1.194 GB, free: 11.04 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9951, allocations: 0 / 1.194 GB, free: 11.04 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000192/0.9953, allocations: 10.16 kB / 1.194 GB, free: 11.04 MB / 0.92 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.0001496/0.9955, allocations: 118.7 kB / 1.195 GB, free: 10.94 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001478/0.9956, allocations: 21.11 kB / 1.195 GB, free: 10.93 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.9956, allocations: 0 / 1.195 GB, free: 10.93 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.495e-05/0.9957, allocations: 7.062 kB / 1.195 GB, free: 10.93 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.9959, allocations: 14.33 kB / 1.195 GB, free: 10.92 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003054/0.9962, allocations: 162.6 kB / 1.195 GB, free: 10.76 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.9965, allocations: 0.677 MB / 1.195 GB, free: 10.06 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.714e-05/0.9965, allocations: 9.031 kB / 1.195 GB, free: 10.05 MB / 0.92 GB Notification: Performance of SimCode: time 2.4e-07/0.9965, allocations: 0 / 1.195 GB, free: 10.05 MB / 0.92 GB Notification: Performance of Templates: time 0.001997/0.9985, allocations: 0.5719 MB / 1.196 GB, free: 9.77 MB / 0.92 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches