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.004722/0.004722, allocations: 104.8 kB / 15.74 MB, free: 6.02 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.001284/0.001284, allocations: 193.5 kB / 16.67 MB, free: 5.934 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.602/2.602, allocations: 437 MB / 0.7105 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 67.83 kB / 1.018 GB, free: 9.918 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.715/0.7169, allocations: 151.6 MB / 1.166 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002681/0.7196, allocations: 1.505 MB / 1.168 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003393/0.7199, allocations: 131.6 kB / 1.168 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.584e-05/0.72, allocations: 0 / 1.168 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.409e-05/0.72, allocations: 3.938 kB / 1.168 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.947e-05/0.7201, allocations: 3.938 kB / 1.168 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.7204, allocations: 73.27 kB / 1.168 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.7206, allocations: 59.78 kB / 1.168 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.7207, allocations: 19.98 kB / 1.168 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.943e-05/0.7207, allocations: 31.91 kB / 1.168 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.027e-05/0.7208, allocations: 15.92 kB / 1.168 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.7208, allocations: 4 kB / 1.168 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.66e-05/0.7208, allocations: 8 kB / 1.168 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.839e-05/0.7209, allocations: 15.92 kB / 1.168 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.179e-05/0.7209, allocations: 27.86 kB / 1.168 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.7211, allocations: 52.83 kB / 1.168 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.7211, allocations: 0 / 1.168 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.233e-06/0.7211, allocations: 0 / 1.168 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.7211, allocations: 4 kB / 1.168 GB, free: 1.848 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.0005775/0.7217, allocations: 370 kB / 1.168 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.7217, allocations: 12.92 kB / 1.168 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.729e-05/0.7218, allocations: 38.67 kB / 1.168 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.805e-05/0.7218, allocations: 12.89 kB / 1.168 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.722, allocations: 164.4 kB / 1.169 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.145e-05/0.722, allocations: 30.27 kB / 1.169 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.7221, allocations: 4.375 kB / 1.169 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/0.7223, allocations: 85.95 kB / 1.169 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.7223, allocations: 0 / 1.169 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.7223, allocations: 0 / 1.169 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.7223, allocations: 3.938 kB / 1.169 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001989/0.7225, allocations: 55.83 kB / 1.169 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006107/0.7232, allocations: 320.7 kB / 1.169 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.7233, allocations: 46.55 kB / 1.169 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.7234, allocations: 32.92 kB / 1.169 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.7234, allocations: 4 kB / 1.169 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.7235, allocations: 38.5 kB / 1.169 GB, free: 488 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.7235, allocations: 0 / 1.169 GB, free: 488 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0003665/0.7239, allocations: 97.59 kB / 1.169 GB, free: 384 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.7239, allocations: 51.41 kB / 1.169 GB, free: 320 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.257e-05/0.724, allocations: 105.8 kB / 1.169 GB, free: 204 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.724, allocations: 33.7 kB / 1.169 GB, free: 164 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.379e-05/0.7241, allocations: 92.06 kB / 1.17 GB, free: 68 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.7241, allocations: 15.91 kB / 1.17 GB, free: 52 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.7242, allocations: 17.72 kB / 1.17 GB, free: 28 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.7243, allocations: 318.8 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.16e-05/0.7244, allocations: 19.98 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.563e-05/0.7245, allocations: 33.64 kB / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.7247, allocations: 65.67 kB / 1.17 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.7247, allocations: 0 / 1.17 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000236/0.725, allocations: 85.55 kB / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.725, allocations: 4 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.725, allocations: 0 / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.725, allocations: 4 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.973e-05/0.7251, allocations: 16.02 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.7251, allocations: 0 / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.737e-05/0.7252, allocations: 11.98 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.7252, allocations: 4 kB / 1.17 GB, free: 15.45 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 9.692e-05/0.7253, allocations: 109.8 kB / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.128e-05/0.7254, allocations: 7.953 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.607e-05/0.7254, allocations: 7.906 kB / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.7254, allocations: 0 / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.7254, allocations: 4 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.7254, allocations: 7.984 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002083/0.7256, allocations: 181.6 kB / 1.17 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.7256, allocations: 0 / 1.17 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.832e-05/0.7257, allocations: 15.92 kB / 1.17 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.7257, allocations: 3.938 kB / 1.17 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.7258, allocations: 8.125 kB / 1.17 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.7258, allocations: 0 / 1.17 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.7258, allocations: 0 / 1.17 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.726, allocations: 175.7 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.211e-05/0.7261, allocations: 93 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.7261, allocations: 48 / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.7263, allocations: 15.97 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.183e-05/0.7263, allocations: 0 / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.7263, allocations: 7.984 kB / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.789e-05/0.7264, allocations: 91.58 kB / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7264, allocations: 0 / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002381/0.7266, allocations: 8 kB / 1.171 GB, free: 14.62 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.0006094/0.7272, allocations: 0.7101 MB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002277/0.7275, allocations: 51.95 kB / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.7275, allocations: 7.938 kB / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.786e-05/0.7276, allocations: 19.98 kB / 1.172 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.7279, allocations: 11.98 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.7294, allocations: 1.331 MB / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.7298, allocations: 0.6807 MB / 1.174 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.123e-05/0.7298, allocations: 7.984 kB / 1.174 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.881e-05/0.7299, allocations: 15.44 kB / 1.174 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of SimCode: time 2.424e-06/0.7299, allocations: 0 / 1.174 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02206/0.7519, allocations: 1.789 MB / 1.175 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.913/8.665, allocations: 5.984 kB / 1.175 GB, free: 9.973 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