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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.007732/0.007732, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.002044/0.002044, allocations: 194.3 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.453/1.453, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.804/2.804, allocations: 469.4 MB / 0.7421 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 63.91 kB / 1.064 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2989, allocations: 159.1 MB / 1.22 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002993/0.302, allocations: 1.503 MB / 1.221 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003378/0.3023, allocations: 127.7 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.862e-05/0.3024, allocations: 3.938 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.26e-05/0.3025, allocations: 4 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.096e-05/0.3025, allocations: 11.88 kB / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003113/0.3028, allocations: 63.88 kB / 1.221 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.303, allocations: 59.78 kB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.854e-05/0.3031, allocations: 19.97 kB / 1.221 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.412e-05/0.3031, allocations: 27.92 kB / 1.221 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.458e-05/0.3032, allocations: 19.92 kB / 1.222 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.3032, allocations: 8 kB / 1.222 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.457e-05/0.3033, allocations: 8 kB / 1.222 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.607e-05/0.3033, allocations: 11.92 kB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.447e-05/0.3033, allocations: 31.84 kB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.3035, allocations: 51.8 kB / 1.222 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3035, allocations: 0 / 1.222 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3035, allocations: 0 / 1.222 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.3035, allocations: 4 kB / 1.222 GB, free: 12.73 MB / 0.9825 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.0005288/0.304, allocations: 363.4 kB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.3041, allocations: 16.03 kB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.19e-05/0.3041, allocations: 38.73 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.298e-05/0.3042, allocations: 8.891 kB / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.3043, allocations: 180.2 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.153e-05/0.3044, allocations: 30.27 kB / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.3044, allocations: 384 / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.3046, allocations: 81.95 kB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.3046, allocations: 0 / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.3047, allocations: 7.938 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.3047, allocations: 7.938 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000202/0.3049, allocations: 43.95 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006357/0.3055, allocations: 312.7 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.3057, allocations: 54.55 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.3058, allocations: 28.92 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.3058, allocations: 4 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.3059, allocations: 30.56 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 2.905e-06/0.3059, allocations: 3.984 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0003929/0.3063, allocations: 105.5 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.3063, allocations: 51.41 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.174e-05/0.3064, allocations: 113.8 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.3064, allocations: 25.7 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.944e-05/0.3065, allocations: 92.06 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/0.3065, allocations: 11.98 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.031e-05/0.3066, allocations: 17.72 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.3067, allocations: 322.8 kB / 1.223 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.476e-05/0.3068, allocations: 19.98 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.629e-05/0.3069, allocations: 37.69 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000187/0.3071, allocations: 57.62 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3071, allocations: 4 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000235/0.3073, allocations: 85.61 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.3074, allocations: 4 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.3074, allocations: 0 / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.3074, allocations: 4 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.3075, allocations: 15.92 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.3075, allocations: 0 / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.356e-05/0.3076, allocations: 12.14 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.3076, allocations: 8 kB / 1.224 GB, free: 10.33 MB / 0.9825 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 8.339e-05/0.3077, allocations: 114.3 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.295e-05/0.3077, allocations: 7.953 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.3078, allocations: 3.906 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3078, allocations: 0 / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.3078, allocations: 7.984 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3078, allocations: 0 / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.308, allocations: 181.5 kB / 1.224 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.308, allocations: 7.922 kB / 1.224 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.385e-05/0.3081, allocations: 12 kB / 1.224 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.3081, allocations: 4 kB / 1.224 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.3081, allocations: 0 / 1.224 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3081, allocations: 0 / 1.224 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3081, allocations: 0 / 1.224 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.3084, allocations: 183.4 kB / 1.224 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.699e-05/0.3084, allocations: 89 kB / 1.224 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.3085, allocations: 0 / 1.224 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.3086, allocations: 11.98 kB / 1.224 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.911e-05/0.3086, allocations: 0 / 1.224 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.3087, allocations: 7.984 kB / 1.224 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.497e-05/0.3087, allocations: 83.28 kB / 1.224 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3087, allocations: 0 / 1.224 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002394/0.309, allocations: 8 kB / 1.224 GB, free: 9.52 MB / 0.9825 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.0005648/0.3095, allocations: 0.7204 MB / 1.225 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002351/0.3098, allocations: 47.95 kB / 1.225 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.3098, allocations: 4.062 kB / 1.225 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.804e-05/0.3099, allocations: 32 kB / 1.225 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.3102, allocations: 13.3 kB / 1.225 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.3117, allocations: 1.321 MB / 1.226 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.312, allocations: 0.6885 MB / 1.227 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.423e-05/0.3121, allocations: 4 kB / 1.227 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.449e-05/0.3121, allocations: 19.38 kB / 1.227 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.3121, allocations: 0 / 1.227 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01808/0.3302, allocations: 1.795 MB / 1.229 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.441/7.771, allocations: 11.88 kB / 1.229 GB, free: 4.852 MB / 0.9825 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 50 --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