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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.005614/0.005614, allocations: 98.86 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.001349/0.001349, allocations: 202 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.616/2.616, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 59.89 kB / 1.018 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2713, allocations: 151.6 MB / 1.166 GB, free: 7.379 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002597/0.2739, allocations: 1.495 MB / 1.168 GB, free: 5.867 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7235/0.9974, allocations: 132.1 MB / 1.297 GB, free: 13.95 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.937e-05/0.9975, allocations: 1.406 kB / 1.297 GB, free: 13.95 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.765e-05/0.9976, allocations: 4.641 kB / 1.297 GB, free: 13.95 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.383e-05/0.9977, allocations: 13.2 kB / 1.297 GB, free: 13.94 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003873/0.9981, allocations: 71.69 kB / 1.297 GB, free: 13.92 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.86e-05/0.9982, allocations: 56.02 kB / 1.297 GB, free: 13.91 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.796e-05/0.9983, allocations: 15.39 kB / 1.297 GB, free: 13.91 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.289e-05/0.9983, allocations: 22.17 kB / 1.297 GB, free: 13.91 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.624e-05/0.9984, allocations: 25.88 kB / 1.297 GB, free: 13.9 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.9984, allocations: 4.25 kB / 1.297 GB, free: 13.9 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.359e-05/0.9985, allocations: 17.97 kB / 1.297 GB, free: 13.9 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.187e-05/0.9986, allocations: 13.59 kB / 1.297 GB, free: 13.89 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.677e-05/0.9986, allocations: 20.27 kB / 1.297 GB, free: 13.89 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.9988, allocations: 57.61 kB / 1.297 GB, free: 13.88 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.9988, allocations: 4.703 kB / 1.297 GB, free: 13.88 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9988, allocations: 0 / 1.297 GB, free: 13.88 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.9988, allocations: 1.156 kB / 1.297 GB, free: 13.88 MB / 1.014 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.0005202/0.9993, allocations: 370.1 kB / 1.297 GB, free: 13.52 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.9994, allocations: 9.719 kB / 1.297 GB, free: 13.52 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.869e-05/0.9994, allocations: 36.5 kB / 1.297 GB, free: 13.48 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.903e-05/0.9994, allocations: 9.188 kB / 1.297 GB, free: 13.47 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.9996, allocations: 177.1 kB / 1.297 GB, free: 13.27 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.9996, allocations: 10.06 kB / 1.297 GB, free: 13.26 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.9996, allocations: 2.625 kB / 1.297 GB, free: 13.26 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002588/0.9999, allocations: 77.03 kB / 1.298 GB, free: 13.23 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.9999, allocations: 3.938 kB / 1.298 GB, free: 13.23 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.9999, allocations: 0.9375 kB / 1.298 GB, free: 13.23 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.9999, allocations: 1.312 kB / 1.298 GB, free: 13.23 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003107/1, allocations: 71.58 kB / 1.298 GB, free: 13.22 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003829/1.001, allocations: 283.2 kB / 1.298 GB, free: 12.95 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/1.001, allocations: 54 kB / 1.298 GB, free: 12.93 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/1.001, allocations: 41.86 kB / 1.298 GB, free: 12.91 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001704/1.001, allocations: 91.89 kB / 1.298 GB, free: 12.82 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/1.001, allocations: 32.2 kB / 1.298 GB, free: 12.78 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/1.001, allocations: 3.938 kB / 1.298 GB, free: 12.78 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0005774/1.002, allocations: 134.6 kB / 1.298 GB, free: 12.74 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/1.002, allocations: 52.56 kB / 1.298 GB, free: 12.68 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/1.002, allocations: 120.2 kB / 1.298 GB, free: 12.58 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/1.002, allocations: 27.2 kB / 1.298 GB, free: 12.55 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.702e-05/1.002, allocations: 95.42 kB / 1.299 GB, free: 12.46 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/1.002, allocations: 8.547 kB / 1.299 GB, free: 12.45 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/1.002, allocations: 16.42 kB / 1.299 GB, free: 12.43 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001238/1.002, allocations: 328 kB / 1.299 GB, free: 12.11 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/1.002, allocations: 30.98 kB / 1.299 GB, free: 12.11 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/1.003, allocations: 30.66 kB / 1.299 GB, free: 12.11 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002914/1.003, allocations: 71.88 kB / 1.299 GB, free: 12.1 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/1.003, allocations: 0 / 1.299 GB, free: 12.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003453/1.003, allocations: 104.9 kB / 1.299 GB, free: 12.06 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/1.003, allocations: 7.656 kB / 1.299 GB, free: 12.06 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/1.003, allocations: 4.547 kB / 1.299 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/1.003, allocations: 1.094 kB / 1.299 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/1.003, allocations: 19.34 kB / 1.299 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/1.003, allocations: 1.125 kB / 1.299 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.294e-05/1.003, allocations: 11.48 kB / 1.299 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/1.004, allocations: 0.9375 kB / 1.299 GB, free: 12.05 MB / 1.014 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 8.497e-05/1.004, allocations: 116 kB / 1.299 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.017e-05/1.004, allocations: 7.703 kB / 1.299 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004121/1.004, allocations: 112.5 kB / 1.299 GB, free: 11.88 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/1.004, allocations: 0 / 1.299 GB, free: 11.88 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/1.004, allocations: 0.6562 kB / 1.299 GB, free: 11.88 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/1.004, allocations: 1.469 kB / 1.299 GB, free: 11.88 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/1.004, allocations: 177.8 kB / 1.3 GB, free: 11.69 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/1.004, allocations: 0 / 1.3 GB, free: 11.69 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.794e-05/1.004, allocations: 16.48 kB / 1.3 GB, free: 11.69 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/1.004, allocations: 0 / 1.3 GB, free: 11.69 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/1.004, allocations: 6.094 kB / 1.3 GB, free: 11.68 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/1.004, allocations: 1.438 kB / 1.3 GB, free: 11.68 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/1.004, allocations: 3.938 kB / 1.3 GB, free: 11.68 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003723/1.005, allocations: 194.5 kB / 1.3 GB, free: 11.55 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/1.005, allocations: 81.72 kB / 1.3 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/1.005, allocations: 9.672 kB / 1.3 GB, free: 11.44 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/1.005, allocations: 11.38 kB / 1.3 GB, free: 11.44 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.053e-05/1.005, allocations: 7.25 kB / 1.3 GB, free: 11.44 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.249e-06/1.005, allocations: 5.594 kB / 1.3 GB, free: 11.44 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.621e-05/1.005, allocations: 95.7 kB / 1.3 GB, free: 11.36 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.005, allocations: 0 / 1.3 GB, free: 11.36 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002468/1.005, allocations: 19.12 kB / 1.3 GB, free: 11.36 MB / 1.014 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.000708/1.006, allocations: 0.7379 MB / 1.301 GB, free: 10.7 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003446/1.006, allocations: 74.03 kB / 1.301 GB, free: 10.69 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/1.006, allocations: 1.781 kB / 1.301 GB, free: 10.69 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001515/1.007, allocations: 36.67 kB / 1.301 GB, free: 10.69 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/1.007, allocations: 10.39 kB / 1.301 GB, free: 10.69 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/1.009, allocations: 1.427 MB / 1.302 GB, free: 9.512 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/1.009, allocations: 0.6834 MB / 1.303 GB, free: 8.816 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.261e-05/1.009, allocations: 9.969 kB / 1.303 GB, free: 8.809 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.298e-05/1.009, allocations: 14.61 kB / 1.303 GB, free: 8.801 MB / 1.014 GB Notification: Performance of SimCode: time 3.31e-07/1.009, allocations: 1.375 kB / 1.303 GB, free: 8.801 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01794/1.027, allocations: 2.068 MB / 1.305 GB, free: 8.398 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.54/8.567, allocations: 4.984 kB / 1.305 GB, free: 8.395 MB / 1.014 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 & python3 -m fmpy simulate --output-file Buildings_10_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_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.csv","/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