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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001868/0.001868, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002554/0.002554, allocations: 215.5 kB / 22.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.556/1.556, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.355/3.355, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 62.08 kB / 1.186 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3304, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002869/0.3333, allocations: 1.517 MB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0003442/0.3336, allocations: 127.7 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.19e-05/0.3337, allocations: 4 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.129e-05/0.3337, allocations: 3.938 kB / 1.365 GB, free: 12.44 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.166e-05/0.3338, allocations: 3.938 kB / 1.365 GB, free: 12.44 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.3341, allocations: 77.58 kB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.3342, allocations: 55.91 kB / 1.365 GB, free: 12.31 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.068e-05/0.3343, allocations: 12.27 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.572e-05/0.3343, allocations: 31.91 kB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.729e-05/0.3344, allocations: 19.86 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.444e-05/0.3344, allocations: 8 kB / 1.365 GB, free: 12.24 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.571e-05/0.3344, allocations: 8 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.096e-05/0.3344, allocations: 7.984 kB / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.743e-05/0.3345, allocations: 27.86 kB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.3346, allocations: 55.78 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3346, allocations: 7.938 kB / 1.365 GB, free: 12.13 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3346, allocations: 0 / 1.365 GB, free: 12.13 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.3346, allocations: 0 / 1.365 GB, free: 12.13 MB / 1.061 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.0005076/0.3351, allocations: 290.2 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.3351, allocations: 8.031 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.344e-05/0.3352, allocations: 46.73 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.302e-05/0.3352, allocations: 4.891 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.3353, allocations: 122.4 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.811e-05/0.3354, allocations: 55.97 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.3354, allocations: 8.375 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002373/0.3357, allocations: 103.7 kB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.3357, allocations: 0 / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.3357, allocations: 0 / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.3357, allocations: 3.938 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001887/0.3359, allocations: 55.89 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006016/0.3365, allocations: 271.9 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.3366, allocations: 46.48 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.985e-05/0.3367, allocations: 32.94 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.915e-06/0.3367, allocations: 0 / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.3368, allocations: 38.55 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.3368, allocations: 0 / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0003693/0.3371, allocations: 97.59 kB / 1.366 GB, free: 10.81 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.3372, allocations: 51.41 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.3373, allocations: 109.8 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.3373, allocations: 25.7 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.076e-05/0.3374, allocations: 92.09 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.3374, allocations: 15.88 kB / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-05/0.3374, allocations: 21.66 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.3376, allocations: 322.8 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.631e-05/0.3377, allocations: 23.97 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.824e-05/0.3377, allocations: 29.7 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.3379, allocations: 57.67 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.3379, allocations: 8.062 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002335/0.3382, allocations: 93.55 kB / 1.367 GB, free: 9.914 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.3382, allocations: 4 kB / 1.367 GB, free: 9.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.309e-06/0.3382, allocations: 0 / 1.367 GB, free: 9.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.3382, allocations: 0 / 1.367 GB, free: 9.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.3383, allocations: 15.98 kB / 1.367 GB, free: 9.895 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.3383, allocations: 0 / 1.367 GB, free: 9.895 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.875e-05/0.3384, allocations: 7.984 kB / 1.367 GB, free: 9.887 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-06/0.3384, allocations: 4.312 kB / 1.367 GB, free: 9.883 MB / 1.061 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.875e-05/0.3385, allocations: 117.8 kB / 1.367 GB, free: 9.758 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.3385, allocations: 11.89 kB / 1.367 GB, free: 9.746 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.97e-05/0.3385, allocations: 8.234 kB / 1.367 GB, free: 9.727 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3385, allocations: 3.984 kB / 1.367 GB, free: 9.723 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.3385, allocations: 0 / 1.367 GB, free: 9.723 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.3385, allocations: 4 kB / 1.367 GB, free: 9.719 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.3387, allocations: 140.7 kB / 1.368 GB, free: 9.539 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3387, allocations: 0 / 1.368 GB, free: 9.539 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.107e-05/0.3388, allocations: 11.98 kB / 1.368 GB, free: 9.527 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.3388, allocations: 7.938 kB / 1.368 GB, free: 9.52 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.3388, allocations: 4 kB / 1.368 GB, free: 9.516 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3388, allocations: 0 / 1.368 GB, free: 9.516 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3388, allocations: 0 / 1.368 GB, free: 9.516 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.3391, allocations: 175.5 kB / 1.368 GB, free: 9.328 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.818e-06/0.3391, allocations: 3.953 kB / 1.368 GB, free: 9.324 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.3391, allocations: 0 / 1.368 GB, free: 9.324 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.3392, allocations: 11.98 kB / 1.368 GB, free: 9.312 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/0.3393, allocations: 11.92 kB / 1.368 GB, free: 9.301 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.3393, allocations: 4 kB / 1.368 GB, free: 9.297 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.933e-05/0.3393, allocations: 99.31 kB / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3393, allocations: 0 / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003256/0.3397, allocations: 12 kB / 1.368 GB, free: 9.188 MB / 1.061 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.0006061/0.3403, allocations: 0.7007 MB / 1.369 GB, free: 8.461 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000221/0.3405, allocations: 51.89 kB / 1.369 GB, free: 8.41 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3405, allocations: 4.062 kB / 1.369 GB, free: 8.406 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.449e-05/0.3406, allocations: 27.97 kB / 1.369 GB, free: 8.379 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.3409, allocations: 6.062 kB / 1.369 GB, free: 8.375 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.3424, allocations: 1.322 MB / 1.37 GB, free: 6.969 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.388e-05/0.3425, allocations: 71.34 kB / 1.37 GB, free: 6.879 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.033e-05/0.3425, allocations: 4 kB / 1.37 GB, free: 6.875 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.424e-05/0.3426, allocations: 15.44 kB / 1.37 GB, free: 6.859 MB / 1.061 GB Notification: Performance of SimCode: time 3.7e-07/0.3426, allocations: 7.938 kB / 1.37 GB, free: 6.852 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02793/0.3705, allocations: 2.344 MB / 1.372 GB, free: 4.652 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.89, allocations: 12.67 kB / 1.372 GB, free: 4.645 MB / 1.061 GB " [Timeout remaining time 288] (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 800 --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) [Timeout 840.0] 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) [Timeout 300] "Error: Could not read variable toTotalAir.XiDry in file Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.csv. Warning: Get data of variable toTotalAir.XiDry from file Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.csv failed! Error: Could not read variable toDryAir.XiTotalAir in file Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.csv. Warning: Get data of variable toDryAir.XiTotalAir from file Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.945381496101618]