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.008209/0.008209, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001999/0.002, allocations: 192.3 kB / 16.67 MB, free: 5.969 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.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.515/2.515, allocations: 437 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 59.91 kB / 1.018 GB, free: 9.883 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7425/0.7439, allocations: 151.6 MB / 1.166 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002771/0.7467, allocations: 1.508 MB / 1.168 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003492/0.7471, allocations: 123.7 kB / 1.168 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.945e-05/0.7472, allocations: 4 kB / 1.168 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.175e-05/0.7472, allocations: 11.92 kB / 1.168 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.946e-05/0.7473, allocations: 3.938 kB / 1.168 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003378/0.7476, allocations: 74.45 kB / 1.168 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.7477, allocations: 55.84 kB / 1.168 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.7479, allocations: 23.95 kB / 1.168 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.948e-05/0.7479, allocations: 27.92 kB / 1.168 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.342e-05/0.748, allocations: 19.92 kB / 1.168 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.853e-05/0.748, allocations: 4 kB / 1.168 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.736e-05/0.7481, allocations: 8 kB / 1.168 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.936e-05/0.7481, allocations: 19.92 kB / 1.168 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.315e-05/0.7481, allocations: 27.84 kB / 1.168 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.7483, allocations: 50.55 kB / 1.168 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.7483, allocations: 0 / 1.168 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7483, allocations: 3.938 kB / 1.168 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.7483, allocations: 0 / 1.168 GB, free: 1.828 MB / 0.8887 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.0005291/0.7488, allocations: 376.2 kB / 1.168 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.7489, allocations: 12.92 kB / 1.168 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.894e-05/0.749, allocations: 38.75 kB / 1.168 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.801e-05/0.749, allocations: 4.891 kB / 1.168 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.7491, allocations: 172.4 kB / 1.169 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.165e-05/0.7492, allocations: 30.27 kB / 1.169 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.7492, allocations: 4.375 kB / 1.169 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.7495, allocations: 73.97 kB / 1.169 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.7495, allocations: 0 / 1.169 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.7495, allocations: 8 kB / 1.169 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.7495, allocations: 3.938 kB / 1.169 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.7497, allocations: 47.89 kB / 1.169 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005973/0.7503, allocations: 316.7 kB / 1.169 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.7504, allocations: 50.55 kB / 1.169 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.7505, allocations: 28.94 kB / 1.169 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.7506, allocations: 7.922 kB / 1.169 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.7506, allocations: 30.56 kB / 1.169 GB, free: 480 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.7506, allocations: 0 / 1.169 GB, free: 480 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0004106/0.751, allocations: 101.6 kB / 1.169 GB, free: 372 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.7511, allocations: 51.41 kB / 1.169 GB, free: 308 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.32e-05/0.7511, allocations: 113.8 kB / 1.169 GB, free: 184 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.7512, allocations: 25.7 kB / 1.169 GB, free: 152 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.381e-05/0.7512, allocations: 92.08 kB / 1.17 GB, free: 56 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.7512, allocations: 15.95 kB / 1.17 GB, free: 40 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/0.7513, allocations: 17.72 kB / 1.17 GB, free: 16 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.7514, allocations: 318.8 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.972e-05/0.7515, allocations: 27.91 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.672e-05/0.7516, allocations: 33.7 kB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.7518, allocations: 57.86 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.7518, allocations: 4 kB / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000229/0.752, allocations: 89.53 kB / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.7521, allocations: 8 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.7521, allocations: 0 / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.7521, allocations: 0 / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.7522, allocations: 15.98 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.7522, allocations: 4 kB / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.792e-05/0.7523, allocations: 7.984 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.7523, allocations: 4.031 kB / 1.17 GB, free: 15.43 MB / 0.9044 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.469e-05/0.7524, allocations: 117.8 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.239e-05/0.7524, allocations: 4.078 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.53e-05/0.7525, allocations: 11.84 kB / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.7525, allocations: 4 kB / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.7525, allocations: 0 / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.7525, allocations: 3.938 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.7527, allocations: 185.5 kB / 1.17 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.7527, allocations: 0 / 1.17 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.133e-05/0.7528, allocations: 19.92 kB / 1.17 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.7528, allocations: 0 / 1.17 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.7528, allocations: 0 / 1.17 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.7528, allocations: 0 / 1.17 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.7528, allocations: 0 / 1.17 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.753, allocations: 179.4 kB / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.786e-05/0.7531, allocations: 85.06 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.7531, allocations: 0 / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.7533, allocations: 11.98 kB / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.08e-05/0.7533, allocations: 0 / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.7533, allocations: 7.984 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.728e-05/0.7534, allocations: 87.28 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7534, allocations: 3.938 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002371/0.7536, allocations: 8 kB / 1.171 GB, free: 14.61 MB / 0.9044 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.0005248/0.7541, allocations: 0.7124 MB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002557/0.7544, allocations: 51.89 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.7544, allocations: 64 / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.331e-05/0.7545, allocations: 27.98 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.7549, allocations: 4 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.7564, allocations: 1.33 MB / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.7567, allocations: 0.6807 MB / 1.174 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.386e-05/0.7568, allocations: 4.328 kB / 1.174 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.879e-05/0.7569, allocations: 23.42 kB / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of SimCode: time 3.4e-07/0.7569, allocations: 3.938 kB / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01783/0.7747, allocations: 1.784 MB / 1.175 GB, free: 9.961 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.257/8.032, allocations: 14.55 kB / 1.175 GB, free: 9.953 MB / 0.9044 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