Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.TotalAirDryAir,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_9_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.001762/0.001763, allocations: 108 kB / 15.61 MB, free: 152 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.001948/0.001948, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.3/1.3, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.213/2.213, allocations: 390.3 MB / 0.6647 GB, free: 500 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 68.08 kB / 0.8126 GB, free: 14.4 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5608/0.5622, allocations: 140.4 MB / 0.9497 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002387/0.5646, allocations: 1.498 MB / 0.9512 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002838/0.5649, allocations: 126.8 kB / 0.9513 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.569e-05/0.5649, allocations: 4 kB / 0.9513 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.767e-05/0.565, allocations: 7.922 kB / 0.9513 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.104e-05/0.5651, allocations: 8.953 kB / 0.9513 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002897/0.5654, allocations: 61.75 kB / 0.9514 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.569e-05/0.5654, allocations: 61.59 kB / 0.9514 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.5656, allocations: 18.33 kB / 0.9515 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.268e-05/0.5656, allocations: 23.77 kB / 0.9515 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.537e-05/0.5657, allocations: 30.25 kB / 0.9515 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/0.5657, allocations: 5.125 kB / 0.9515 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.829e-05/0.5657, allocations: 4.938 kB / 0.9515 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.201e-05/0.5657, allocations: 10.55 kB / 0.9515 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.885e-05/0.5658, allocations: 29.84 kB / 0.9516 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.453e-05/0.5659, allocations: 59.23 kB / 0.9516 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.5659, allocations: 0 / 0.9516 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.402e-06/0.5659, allocations: 0 / 0.9516 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.789e-06/0.5659, allocations: 0 / 0.9516 GB, free: 7.652 MB / 0.7169 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.0004221/0.5663, allocations: 375.4 kB / 0.952 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.5664, allocations: 9.406 kB / 0.952 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.657e-05/0.5664, allocations: 36.06 kB / 0.952 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.177e-05/0.5665, allocations: 4.031 kB / 0.952 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.023e-05/0.5665, allocations: 175.4 kB / 0.9522 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.918e-05/0.5666, allocations: 33.25 kB / 0.9522 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.5666, allocations: 7.094 kB / 0.9522 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.5668, allocations: 73.75 kB / 0.9523 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.5668, allocations: 7.984 kB / 0.9523 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.5668, allocations: 1.344 kB / 0.9523 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.5668, allocations: 1.375 kB / 0.9523 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.567, allocations: 44.23 kB / 0.9523 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004856/0.5675, allocations: 322.5 kB / 0.9526 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.5676, allocations: 53.17 kB / 0.9527 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.759e-05/0.5677, allocations: 28.12 kB / 0.9527 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.5678, allocations: 0 / 0.9527 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/0.5678, allocations: 35.69 kB / 0.9528 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.5678, allocations: 4 kB / 0.9528 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.000329/0.5681, allocations: 101.7 kB / 0.9529 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.968e-05/0.5681, allocations: 52.5 kB / 0.9529 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.716e-05/0.5682, allocations: 107.5 kB / 0.953 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.5682, allocations: 25.7 kB / 0.953 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.72e-05/0.5683, allocations: 90.95 kB / 0.9531 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.321e-05/0.5683, allocations: 17.28 kB / 0.9531 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.5683, allocations: 21.98 kB / 0.9532 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.418e-05/0.5684, allocations: 320.2 kB / 0.9535 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.566e-05/0.5685, allocations: 19.36 kB / 0.9535 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.574e-05/0.5685, allocations: 34.94 kB / 0.9535 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.5687, allocations: 63.5 kB / 0.9536 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.5687, allocations: 3.984 kB / 0.9536 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002025/0.5689, allocations: 91.09 kB / 0.9537 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.5689, allocations: 3.781 kB / 0.9537 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.569, allocations: 1.875 kB / 0.9537 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.569, allocations: 0 / 0.9537 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.864e-05/0.5691, allocations: 17.42 kB / 0.9537 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.5691, allocations: 1.094 kB / 0.9537 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.303e-05/0.5691, allocations: 4.812 kB / 0.9537 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-06/0.5692, allocations: 1.156 kB / 0.9537 GB, free: 5.59 MB / 0.7169 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 5.852e-05/0.5692, allocations: 121.3 kB / 0.9538 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.929e-05/0.5693, allocations: 5.219 kB / 0.9538 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.395e-05/0.5693, allocations: 9.188 kB / 0.9538 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.5693, allocations: 1.25 kB / 0.9538 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5693, allocations: 4.359 kB / 0.9538 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.5693, allocations: 4 kB / 0.9538 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.5694, allocations: 175.8 kB / 0.954 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.5694, allocations: 5.078 kB / 0.954 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.616e-05/0.5695, allocations: 12.61 kB / 0.954 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.5695, allocations: 0 / 0.954 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.862e-06/0.5695, allocations: 0 / 0.954 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.5695, allocations: 1.5 kB / 0.954 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.5696, allocations: 3.938 kB / 0.954 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.5698, allocations: 177.2 kB / 0.9542 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.072e-05/0.5698, allocations: 83.2 kB / 0.9543 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.5698, allocations: 1.281 kB / 0.9543 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.57, allocations: 9.359 kB / 0.9543 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.711e-05/0.57, allocations: 14.14 kB / 0.9543 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.57, allocations: 2.125 kB / 0.9543 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.673e-05/0.57, allocations: 89.8 kB / 0.9544 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.57, allocations: 4 kB / 0.9544 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002197/0.5703, allocations: 8.375 kB / 0.9544 GB, free: 4.855 MB / 0.7169 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.0003647/0.5706, allocations: 0.7038 MB / 0.9551 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002086/0.5709, allocations: 52.7 kB / 0.9551 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.5709, allocations: 0.9688 kB / 0.9551 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.557e-05/0.571, allocations: 30.34 kB / 0.9552 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.5713, allocations: 12.72 kB / 0.9552 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.5724, allocations: 1.326 MB / 0.9565 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.5725, allocations: 0.6887 MB / 0.9571 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.943e-05/0.5725, allocations: 7.531 kB / 0.9572 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.683e-05/0.5726, allocations: 17.72 kB / 0.9572 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of SimCode: time 2.91e-07/0.5726, allocations: 1.281 kB / 0.9572 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03238/0.605, allocations: 1.744 MB / 0.9589 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.181/7.786, allocations: 11.94 kB / 0.9589 GB, free: 1.152 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches