Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.TotalAirDryAir,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",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.001096/0.001096, 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.001075/0.001075, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.335/1.335, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.528/2.528, allocations: 437.1 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 59.91 kB / 0.8693 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5547/0.556, allocations: 151.6 MB / 1.017 GB, free: 2.434 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.003131/0.5592, allocations: 1.509 MB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003674/0.5596, allocations: 123.7 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.593e-05/0.5597, allocations: 4 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.946e-05/0.5597, allocations: 7.922 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.749e-05/0.5598, allocations: 11.92 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003469/0.5602, allocations: 67.59 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.5603, allocations: 59.78 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.5604, allocations: 23.97 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.578e-05/0.5605, allocations: 23.92 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.8e-05/0.5606, allocations: 27.91 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.5606, allocations: 4 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.672e-05/0.5606, allocations: 4 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.065e-05/0.5607, allocations: 19.92 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.416e-05/0.5607, allocations: 27.84 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.5608, allocations: 54.11 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5608, allocations: 0 / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5608, allocations: 0 / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.5609, allocations: 0 / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005443/0.5614, allocations: 375.3 kB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.5614, allocations: 8.031 kB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.326e-05/0.5615, allocations: 42.83 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.5616, allocations: 4.844 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.5617, allocations: 168.3 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.187e-05/0.5618, allocations: 34.25 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.5618, allocations: 12.31 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.562, allocations: 69.97 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.562, allocations: 0 / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.5621, allocations: 4 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.5621, allocations: 4 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001832/0.5623, allocations: 43.95 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005913/0.5629, allocations: 320.6 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.563, allocations: 50.55 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.777e-05/0.5631, allocations: 28.94 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.5631, allocations: 0 / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.5632, allocations: 34.56 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.5632, allocations: 0 / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0003796/0.5636, allocations: 105.6 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.5636, allocations: 59.34 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.815e-05/0.5637, allocations: 105.8 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.5637, allocations: 29.64 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.713e-05/0.5638, allocations: 96.03 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.5638, allocations: 11.75 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.962e-05/0.5638, allocations: 21.7 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.564, allocations: 326.8 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.011e-05/0.564, allocations: 15.98 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.293e-05/0.5642, allocations: 37.69 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.5643, allocations: 57.8 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.5643, allocations: 4 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002298/0.5646, allocations: 85.77 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.5646, allocations: 8 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.5646, allocations: 4 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.5646, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.5647, allocations: 19.92 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.758e-06/0.5648, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.611e-05/0.5648, allocations: 4 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.5648, allocations: 4.031 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.901e-05/0.5649, allocations: 117.8 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.254e-05/0.5649, allocations: 7.891 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.553e-05/0.565, allocations: 11.91 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.565, allocations: 0 / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.565, allocations: 0 / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.565, allocations: 0 / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.5652, allocations: 177.6 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.5652, allocations: 0 / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.126e-05/0.5653, allocations: 15.98 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.5653, allocations: 0 / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.5653, allocations: 0 / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.5653, allocations: 0 / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.5653, allocations: 0 / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.5655, allocations: 179.4 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.734e-05/0.5656, allocations: 85.02 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.5656, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.5657, allocations: 11.98 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.5658, allocations: 15.92 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.5658, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.487e-05/0.5659, allocations: 91.27 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5659, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002262/0.5661, allocations: 8 kB / 1.022 GB, free: 13.26 MB / 0.7794 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 (4): * Single equations (assignments): 4 * 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.0005167/0.5666, allocations: 0.7123 MB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002228/0.5668, allocations: 51.89 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5669, allocations: 0 / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.43e-05/0.567, allocations: 35.97 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.5672, allocations: 11.28 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.5686, allocations: 1.309 MB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.5689, allocations: 0.6846 MB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.193e-05/0.5689, allocations: 8.234 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.327e-05/0.569, allocations: 19.44 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.569, allocations: 0 / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01795/0.5869, allocations: 1.746 MB / 1.027 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.004/7.59, allocations: 11.52 kB / 1.027 GB, free: 8.621 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_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_TotalAirDryAir.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches