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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001092/0.001092, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001153, allocations: 194.3 kB / 16.53 MB, free: 6.391 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.324/1.324, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.708/2.708, allocations: 469.4 MB / 0.742 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 64.3 kB / 0.9083 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2561, allocations: 159.1 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002494/0.2586, allocations: 1.503 MB / 1.065 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002915/0.2589, allocations: 121.3 kB / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.917e-05/0.259, allocations: 0 / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.409e-05/0.259, allocations: 7.922 kB / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.355e-05/0.2591, allocations: 3.938 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.2594, allocations: 71.02 kB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.735e-05/0.2595, allocations: 63.78 kB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.2596, allocations: 19.98 kB / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.318e-05/0.2597, allocations: 31.91 kB / 1.065 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.467e-05/0.2597, allocations: 19.91 kB / 1.065 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.288e-05/0.2598, allocations: 4 kB / 1.065 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.762e-05/0.2598, allocations: 8 kB / 1.065 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.648e-05/0.2598, allocations: 11.98 kB / 1.065 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.745e-05/0.2599, allocations: 27.86 kB / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.028e-05/0.26, allocations: 56.08 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.26, allocations: 0 / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.092e-06/0.26, allocations: 0 / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.26, allocations: 4 kB / 1.066 GB, free: 12.57 MB / 0.8262 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.0004594/0.2604, allocations: 367.4 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.2605, allocations: 15.97 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.513e-05/0.2605, allocations: 30.75 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/0.2606, allocations: 8.844 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.747e-05/0.2607, allocations: 164.3 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.636e-05/0.2607, allocations: 42.19 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.639e-06/0.2608, allocations: 4.375 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.261, allocations: 85.95 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.261, allocations: 0 / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.261, allocations: 0 / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.261, allocations: 0 / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001863/0.2612, allocations: 47.95 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005595/0.2618, allocations: 320.6 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.2619, allocations: 46.55 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.599e-05/0.262, allocations: 28.94 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.262, allocations: 8 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.2621, allocations: 34.56 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.2621, allocations: 0 / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0003732/0.2625, allocations: 105.5 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.2625, allocations: 51.41 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.925e-05/0.2626, allocations: 109.8 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.2626, allocations: 33.7 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.236e-05/0.2627, allocations: 88.08 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.2627, allocations: 15.81 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.87e-05/0.2627, allocations: 21.7 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.714e-05/0.2628, allocations: 314.8 kB / 1.067 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.71e-05/0.2629, allocations: 19.98 kB / 1.067 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.631e-05/0.263, allocations: 41.62 kB / 1.067 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/0.2632, allocations: 69.61 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2632, allocations: 0 / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002202/0.2634, allocations: 77.84 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.2635, allocations: 4 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2635, allocations: 4.031 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.2635, allocations: 4.031 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.976e-05/0.2636, allocations: 19.92 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.2636, allocations: 0 / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.915e-05/0.2637, allocations: 11.91 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.2637, allocations: 4 kB / 1.068 GB, free: 10.17 MB / 0.8262 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.048e-05/0.2638, allocations: 113.8 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.175e-05/0.2638, allocations: 4 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.322e-05/0.2638, allocations: 11.91 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.2638, allocations: 0 / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2638, allocations: 0 / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2638, allocations: 7.938 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.264, allocations: 181.6 kB / 1.068 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.264, allocations: 0 / 1.068 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.49e-05/0.2641, allocations: 15.98 kB / 1.068 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2641, allocations: 0 / 1.068 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.2641, allocations: 4 kB / 1.068 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.2641, allocations: 0 / 1.068 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.2641, allocations: 0 / 1.068 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002475/0.2644, allocations: 179.3 kB / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.173e-05/0.2644, allocations: 81.11 kB / 1.068 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.2644, allocations: 4 kB / 1.068 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.2646, allocations: 11.98 kB / 1.068 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.062e-05/0.2646, allocations: 4.109 kB / 1.068 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.2646, allocations: 8 kB / 1.068 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.841e-05/0.2647, allocations: 91.27 kB / 1.068 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2647, allocations: 0 / 1.068 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002298/0.2649, allocations: 8 kB / 1.068 GB, free: 9.359 MB / 0.8262 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.000476/0.2654, allocations: 0.7151 MB / 1.069 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002262/0.2656, allocations: 47.95 kB / 1.069 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.2657, allocations: 0 / 1.069 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.549e-05/0.2658, allocations: 35.84 kB / 1.069 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.266, allocations: 9.406 kB / 1.069 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.2673, allocations: 1.318 MB / 1.07 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000198/0.2676, allocations: 0.6885 MB / 1.071 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.858e-05/0.2676, allocations: 8 kB / 1.071 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.661e-05/0.2676, allocations: 11.44 kB / 1.071 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2677, allocations: 0 / 1.071 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01797/0.2856, allocations: 1.751 MB / 1.073 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.315/7.601, allocations: 10.7 kB / 1.073 GB, free: 4.734 MB / 0.8262 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