Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_11_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.00822/0.00822, allocations: 98.39 kB / 15.73 MB, free: 5.98 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.00235/0.00235, allocations: 194.7 kB / 16.68 MB, free: 5.91 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: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.856/2.856, allocations: 469.8 MB / 0.7425 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 67.83 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7177/0.7196, allocations: 159.1 MB / 1.22 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002745/0.7224, allocations: 1.506 MB / 1.222 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003157/0.7228, allocations: 131.6 kB / 1.222 GB, free: 388 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.283e-05/0.7228, allocations: 0 / 1.222 GB, free: 388 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.085e-05/0.7229, allocations: 3.938 kB / 1.222 GB, free: 384 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.338e-05/0.7229, allocations: 11.88 kB / 1.222 GB, free: 372 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003111/0.7233, allocations: 63.89 kB / 1.222 GB, free: 308 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.7234, allocations: 59.84 kB / 1.222 GB, free: 248 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.7235, allocations: 23.97 kB / 1.222 GB, free: 224 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.567e-05/0.7236, allocations: 19.92 kB / 1.222 GB, free: 204 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.423e-05/0.7236, allocations: 31.89 kB / 1.222 GB, free: 172 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.7237, allocations: 4 kB / 1.222 GB, free: 168 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.667e-05/0.7237, allocations: 8 kB / 1.222 GB, free: 160 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.905e-05/0.7237, allocations: 15.88 kB / 1.222 GB, free: 144 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.036e-05/0.7238, allocations: 23.92 kB / 1.222 GB, free: 120 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.7239, allocations: 58.45 kB / 1.222 GB, free: 64 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.7239, allocations: 0 / 1.222 GB, free: 64 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.313e-06/0.7239, allocations: 0 / 1.222 GB, free: 64 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.7239, allocations: 0 / 1.222 GB, free: 64 kB / 0.9356 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.0005723/0.7245, allocations: 372.3 kB / 1.222 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.7245, allocations: 16.03 kB / 1.222 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.025e-05/0.7246, allocations: 34.75 kB / 1.222 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.439e-05/0.7246, allocations: 8.891 kB / 1.222 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.7248, allocations: 164.3 kB / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.791e-05/0.7248, allocations: 30.27 kB / 1.223 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.7249, allocations: 8.375 kB / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002315/0.7251, allocations: 81.89 kB / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.7251, allocations: 0 / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.7251, allocations: 0 / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.7251, allocations: 4 kB / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002081/0.7254, allocations: 55.88 kB / 1.223 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006187/0.726, allocations: 308.8 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.7262, allocations: 54.5 kB / 1.223 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.7263, allocations: 28.92 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.7263, allocations: 3.938 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.7263, allocations: 34.56 kB / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.7263, allocations: 0 / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0003893/0.7267, allocations: 105.5 kB / 1.223 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.7268, allocations: 55.41 kB / 1.223 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.071e-05/0.7269, allocations: 105.8 kB / 1.223 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.7269, allocations: 25.7 kB / 1.223 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.543e-05/0.727, allocations: 96.06 kB / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.727, allocations: 7.906 kB / 1.224 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.64e-05/0.727, allocations: 17.72 kB / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.7272, allocations: 326.8 kB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.989e-05/0.7273, allocations: 23.98 kB / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.7274, allocations: 33.81 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.7276, allocations: 57.86 kB / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.7276, allocations: 0 / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002415/0.7279, allocations: 97.55 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.7279, allocations: 7.984 kB / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.7279, allocations: 0 / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.7279, allocations: 0 / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.728, allocations: 12 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.728, allocations: 3.938 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.961e-05/0.7281, allocations: 7.984 kB / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.7281, allocations: 4.031 kB / 1.224 GB, free: 13.66 MB / 0.9512 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.76e-05/0.7282, allocations: 117.8 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.241e-05/0.7282, allocations: 7.953 kB / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.077e-05/0.7283, allocations: 11.89 kB / 1.224 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.7283, allocations: 0 / 1.224 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.7283, allocations: 0 / 1.224 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.7283, allocations: 0 / 1.224 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/0.7285, allocations: 181.5 kB / 1.224 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.7285, allocations: 0 / 1.224 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.708e-05/0.7286, allocations: 12 kB / 1.224 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.7286, allocations: 0 / 1.224 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.7286, allocations: 3.984 kB / 1.224 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.7286, allocations: 4 kB / 1.224 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.7286, allocations: 0 / 1.224 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.7289, allocations: 179.3 kB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.968e-05/0.729, allocations: 85.06 kB / 1.225 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.729, allocations: 7.938 kB / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.7291, allocations: 7.984 kB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.7292, allocations: 11.98 kB / 1.225 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/0.7292, allocations: 0 / 1.225 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.069e-05/0.7293, allocations: 83.28 kB / 1.225 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7293, allocations: 0 / 1.225 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000241/0.7295, allocations: 15.98 kB / 1.225 GB, free: 12.84 MB / 0.9512 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.0006019/0.7301, allocations: 0.709 MB / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002406/0.7304, allocations: 51.89 kB / 1.226 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.7304, allocations: 0 / 1.226 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.7305, allocations: 32.03 kB / 1.226 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.7308, allocations: 4.547 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.7325, allocations: 1.333 MB / 1.227 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.7328, allocations: 0.6885 MB / 1.228 GB, free: 9.891 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.437e-05/0.7329, allocations: 7.984 kB / 1.228 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.663e-05/0.7329, allocations: 15.44 kB / 1.228 GB, free: 9.867 MB / 0.9512 GB Notification: Performance of SimCode: time 3.51e-07/0.7329, allocations: 0 / 1.228 GB, free: 9.867 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02335/0.7563, allocations: 1.777 MB / 1.229 GB, free: 8.195 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.913/8.669, allocations: 16.52 kB / 1.229 GB, free: 8.18 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches