Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_latest_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.004972/0.004972, allocations: 101.1 kB / 15.73 MB, free: 6.062 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.001318/0.001318, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.967/2.967, allocations: 482.4 MB / 0.7548 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 67.83 kB / 1.083 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3062, allocations: 162.2 MB / 1.241 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002806/0.3091, allocations: 1.501 MB / 1.243 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003146/0.3094, allocations: 127.6 kB / 1.243 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.309e-05/0.3094, allocations: 0 / 1.243 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.522e-05/0.3095, allocations: 7.875 kB / 1.243 GB, free: 8.637 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.104e-05/0.3095, allocations: 7.922 kB / 1.243 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002881/0.3098, allocations: 79.53 kB / 1.243 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.31, allocations: 63.83 kB / 1.243 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.85e-05/0.3101, allocations: 19.98 kB / 1.243 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.521e-05/0.3101, allocations: 23.92 kB / 1.243 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.164e-05/0.3102, allocations: 23.92 kB / 1.243 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.3102, allocations: 4 kB / 1.243 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.58e-05/0.3102, allocations: 4 kB / 1.243 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.948e-05/0.3103, allocations: 19.91 kB / 1.243 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.625e-05/0.3103, allocations: 27.86 kB / 1.243 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.3104, allocations: 59.78 kB / 1.243 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.3104, allocations: 0 / 1.243 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of FrontEnd: time 7.92e-07/0.3105, allocations: 0 / 1.243 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.3105, allocations: 0 / 1.243 GB, free: 8.312 MB / 0.9981 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.0005275/0.311, allocations: 363.4 kB / 1.244 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.311, allocations: 12.03 kB / 1.244 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.015e-05/0.3111, allocations: 42.67 kB / 1.244 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/0.3111, allocations: 8.891 kB / 1.244 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.3113, allocations: 164.3 kB / 1.244 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.507e-05/0.3113, allocations: 34.27 kB / 1.244 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.3114, allocations: 4.375 kB / 1.244 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.3116, allocations: 77.97 kB / 1.244 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.3116, allocations: 3.938 kB / 1.244 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.3116, allocations: 0 / 1.244 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.3116, allocations: 0 / 1.244 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001984/0.3118, allocations: 55.89 kB / 1.244 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006004/0.3124, allocations: 316.7 kB / 1.244 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.3126, allocations: 50.55 kB / 1.244 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.3127, allocations: 32.92 kB / 1.244 GB, free: 7 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.3127, allocations: 0 / 1.244 GB, free: 7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.3127, allocations: 38.5 kB / 1.244 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 9.61e-07/0.3128, allocations: 0 / 1.244 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0003736/0.3131, allocations: 97.59 kB / 1.245 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.3132, allocations: 51.41 kB / 1.245 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.725e-05/0.3133, allocations: 117.9 kB / 1.245 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.3133, allocations: 25.7 kB / 1.245 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.587e-05/0.3134, allocations: 96.06 kB / 1.245 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.353e-05/0.3134, allocations: 7.906 kB / 1.245 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.939e-05/0.3135, allocations: 17.72 kB / 1.245 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3136, allocations: 322.8 kB / 1.245 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.643e-05/0.3137, allocations: 19.98 kB / 1.245 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.3138, allocations: 49.56 kB / 1.245 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.314, allocations: 49.69 kB / 1.245 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.314, allocations: 0 / 1.245 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002454/0.3143, allocations: 89.55 kB / 1.245 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.3143, allocations: 8.031 kB / 1.245 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.3143, allocations: 0 / 1.245 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.3143, allocations: 0 / 1.245 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.3144, allocations: 19.98 kB / 1.245 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.3144, allocations: 0 / 1.245 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.785e-05/0.3145, allocations: 7.984 kB / 1.245 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.3145, allocations: 0 / 1.245 GB, free: 5.922 MB / 0.9981 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.656e-05/0.3146, allocations: 118.3 kB / 1.246 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.225e-05/0.3147, allocations: 11.95 kB / 1.246 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.498e-05/0.3147, allocations: 3.906 kB / 1.246 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3147, allocations: 0 / 1.246 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3147, allocations: 3.984 kB / 1.246 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3147, allocations: 0 / 1.246 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002075/0.3149, allocations: 189.6 kB / 1.246 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.3149, allocations: 3.984 kB / 1.246 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.108e-05/0.315, allocations: 11.94 kB / 1.246 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.315, allocations: 0 / 1.246 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.882e-06/0.3151, allocations: 0 / 1.246 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.3151, allocations: 0 / 1.246 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3151, allocations: 8 kB / 1.246 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002858/0.3154, allocations: 175.4 kB / 1.246 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.979e-05/0.3154, allocations: 85.34 kB / 1.246 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.3154, allocations: 0 / 1.246 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.3156, allocations: 7.984 kB / 1.246 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.3156, allocations: 11.98 kB / 1.246 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.3156, allocations: 3.984 kB / 1.246 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.117e-05/0.3157, allocations: 87.28 kB / 1.246 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3157, allocations: 0 / 1.246 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002293/0.3159, allocations: 8 kB / 1.246 GB, free: 5.105 MB / 0.9981 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.0006499/0.3166, allocations: 0.7163 MB / 1.247 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002362/0.3169, allocations: 51.89 kB / 1.247 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3169, allocations: 0 / 1.247 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.933e-05/0.317, allocations: 23.98 kB / 1.247 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.3173, allocations: 11.92 kB / 1.247 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.3189, allocations: 1.327 MB / 1.248 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.3192, allocations: 0.6846 MB / 1.249 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.182e-05/0.3193, allocations: 11.94 kB / 1.249 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.459e-05/0.3193, allocations: 19.44 kB / 1.249 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.3193, allocations: 0 / 1.249 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02228/0.3416, allocations: 1.778 MB / 1.251 GB, free: 472 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.872/8.214, allocations: 13.75 kB / 1.251 GB, free: 460 kB / 0.9981 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches