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.005486/0.005486, allocations: 99.52 kB / 15.73 MB, free: 6.039 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.001257/0.001257, allocations: 200.8 kB / 16.68 MB, free: 5.965 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.403/2.403, allocations: 390.2 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 66.86 kB / 0.9504 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2483, allocations: 140.4 MB / 1.087 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002712/0.251, allocations: 1.49 MB / 1.089 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1346/0.3857, allocations: 132.1 MB / 1.218 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.571e-05/0.3858, allocations: 0 / 1.218 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.682e-05/0.3858, allocations: 7.938 kB / 1.218 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.955e-05/0.3859, allocations: 11.86 kB / 1.218 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004052/0.3863, allocations: 67.98 kB / 1.218 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.299e-05/0.3865, allocations: 55.73 kB / 1.218 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.286e-05/0.3866, allocations: 19.92 kB / 1.218 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.126e-05/0.3866, allocations: 19.92 kB / 1.218 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.847e-05/0.3867, allocations: 23.92 kB / 1.218 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.3867, allocations: 4 kB / 1.218 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.961e-05/0.3868, allocations: 19.98 kB / 1.218 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.75e-05/0.3868, allocations: 7.938 kB / 1.218 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.414e-05/0.3869, allocations: 27.91 kB / 1.218 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.387, allocations: 59.69 kB / 1.218 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.387, allocations: 4 kB / 1.218 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.242e-06/0.387, allocations: 0 / 1.218 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.3871, allocations: 0 / 1.218 GB, free: 11.6 MB / 0.9825 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.0005076/0.3876, allocations: 389 kB / 1.219 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.3876, allocations: 8.031 kB / 1.219 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.315e-05/0.3877, allocations: 30.75 kB / 1.219 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.169e-05/0.3877, allocations: 8.891 kB / 1.219 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.3878, allocations: 164.4 kB / 1.219 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.3878, allocations: 4.375 kB / 1.219 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.3879, allocations: 4.375 kB / 1.219 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/0.3881, allocations: 78.19 kB / 1.219 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.3881, allocations: 7.938 kB / 1.219 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.3881, allocations: 0 / 1.219 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.3882, allocations: 0 / 1.219 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003018/0.3885, allocations: 71.8 kB / 1.219 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003804/0.3889, allocations: 284.8 kB / 1.219 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.3891, allocations: 58.55 kB / 1.219 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/0.3892, allocations: 36.91 kB / 1.219 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001659/0.3894, allocations: 93.03 kB / 1.219 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.3895, allocations: 38.56 kB / 1.219 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 2.725e-06/0.3895, allocations: 3.984 kB / 1.219 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005598/0.39, allocations: 125.5 kB / 1.22 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.3901, allocations: 55.39 kB / 1.22 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.081e-05/0.3902, allocations: 121.8 kB / 1.22 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.3902, allocations: 25.7 kB / 1.22 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.789e-05/0.3902, allocations: 92.08 kB / 1.22 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.3903, allocations: 11.91 kB / 1.22 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/0.3903, allocations: 17.7 kB / 1.22 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.3904, allocations: 318.8 kB / 1.22 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.3906, allocations: 31.95 kB / 1.22 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.3907, allocations: 39.91 kB / 1.22 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002827/0.391, allocations: 68.78 kB / 1.22 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.391, allocations: 0 / 1.22 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003267/0.3914, allocations: 97.62 kB / 1.22 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.3914, allocations: 4 kB / 1.22 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3914, allocations: 0 / 1.22 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.3914, allocations: 0 / 1.22 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.3915, allocations: 23.91 kB / 1.22 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.3916, allocations: 0 / 1.22 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.451e-05/0.3916, allocations: 11.98 kB / 1.22 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.3917, allocations: 0 / 1.22 GB, free: 9.066 MB / 0.9825 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.612e-05/0.3917, allocations: 125.7 kB / 1.221 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.856e-05/0.3918, allocations: 3.953 kB / 1.221 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000369/0.3921, allocations: 109.5 kB / 1.221 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3922, allocations: 0 / 1.221 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.3922, allocations: 4 kB / 1.221 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.3922, allocations: 4 kB / 1.221 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.3924, allocations: 181.5 kB / 1.221 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3924, allocations: 0 / 1.221 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.3925, allocations: 15.98 kB / 1.221 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3925, allocations: 0 / 1.221 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.3925, allocations: 0 / 1.221 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.3925, allocations: 3.984 kB / 1.221 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3925, allocations: 0 / 1.221 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003834/0.3929, allocations: 199.3 kB / 1.221 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.141e-05/0.3929, allocations: 85.11 kB / 1.221 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.393, allocations: 0 / 1.221 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.3931, allocations: 15.97 kB / 1.221 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.895e-05/0.3931, allocations: 432 / 1.221 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.3931, allocations: 4 kB / 1.221 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.274e-05/0.3932, allocations: 95.27 kB / 1.221 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3932, allocations: 0 / 1.221 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002436/0.3935, allocations: 19.94 kB / 1.221 GB, free: 8.109 MB / 0.9825 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.0006955/0.3942, allocations: 0.7513 MB / 1.222 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003516/0.3945, allocations: 67.92 kB / 1.222 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3945, allocations: 0 / 1.222 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.3947, allocations: 31.97 kB / 1.222 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.395, allocations: 19.98 kB / 1.222 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.3968, allocations: 1.421 MB / 1.223 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.3971, allocations: 0.6807 MB / 1.224 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.556e-05/0.3971, allocations: 7.922 kB / 1.224 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.289e-05/0.3972, allocations: 15.44 kB / 1.224 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.3972, allocations: 0 / 1.224 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01968/0.4169, allocations: 2.076 MB / 1.226 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.361/7.778, allocations: 5.188 kB / 1.226 GB, free: 3.016 MB / 0.9825 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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