Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0015/0.0015, allocations: 109.7 kB / 16.46 MB, free: 6.508 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.002648/0.002648, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.483/1.483, allocations: 230.6 MB / 252.8 MB, free: 9.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.247/3.247, allocations: 0.49 GB / 0.7916 GB, free: 33.25 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="Buildings_12_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.002014/0.002014, allocations: 71.47 kB / 1.149 GB, free: 26.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3646, allocations: 176.1 MB / 1.321 GB, free: 3.301 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.003391/0.368, allocations: 1.524 MB / 1.322 GB, free: 1.77 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003761/0.3683, allocations: 127.6 kB / 1.322 GB, free: 1.645 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.636e-05/0.3684, allocations: 0 / 1.322 GB, free: 1.645 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.524e-05/0.3684, allocations: 7.922 kB / 1.322 GB, free: 1.637 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.896e-05/0.3685, allocations: 3.938 kB / 1.322 GB, free: 1.633 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003539/0.3688, allocations: 74.95 kB / 1.322 GB, free: 1.562 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.369, allocations: 55.91 kB / 1.323 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.3691, allocations: 12.27 kB / 1.323 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.905e-05/0.3692, allocations: 27.91 kB / 1.323 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.325e-05/0.3692, allocations: 27.86 kB / 1.323 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.3692, allocations: 4 kB / 1.323 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.693e-05/0.3693, allocations: 4 kB / 1.323 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.592e-05/0.3693, allocations: 11.98 kB / 1.323 GB, free: 1.422 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.14e-05/0.3693, allocations: 23.86 kB / 1.323 GB, free: 1.398 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.3695, allocations: 59.73 kB / 1.323 GB, free: 1.34 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3695, allocations: 3.984 kB / 1.323 GB, free: 1.336 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3695, allocations: 4 kB / 1.323 GB, free: 1.332 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.3695, allocations: 3.938 kB / 1.323 GB, free: 1.328 MB / 1.014 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.0006523/0.3701, allocations: 371.3 kB / 1.323 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.3702, allocations: 15.92 kB / 1.323 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.895e-05/0.3702, allocations: 38.75 kB / 1.323 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.014e-05/0.3703, allocations: 8.875 kB / 1.323 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.3704, allocations: 168.3 kB / 1.323 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.237e-05/0.3705, allocations: 34.27 kB / 1.323 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.3705, allocations: 8.375 kB / 1.323 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/0.3708, allocations: 77.89 kB / 1.323 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.3708, allocations: 0 / 1.323 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.3708, allocations: 8 kB / 1.323 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.3708, allocations: 0 / 1.323 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001909/0.371, allocations: 39.95 kB / 1.323 GB, free: 476 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000716/0.3717, allocations: 320.7 kB / 1.324 GB, free: 104 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.3719, allocations: 50.48 kB / 1.324 GB, free: 44 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.372, allocations: 28.92 kB / 1.324 GB, free: 12 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.372, allocations: 7.984 kB / 1.324 GB, free: 4 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.736e-05/0.372, allocations: 38.56 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.372, allocations: 0 / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0003994/0.3724, allocations: 93.64 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.3725, allocations: 51.41 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.828e-05/0.3726, allocations: 113.7 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.3726, allocations: 33.7 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.75e-05/0.3727, allocations: 92.12 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.3727, allocations: 15.84 kB / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-05/0.3727, allocations: 17.72 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3729, allocations: 318.8 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.773e-05/0.373, allocations: 23.97 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.3731, allocations: 33.7 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.3733, allocations: 53.67 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3733, allocations: 4 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002311/0.3735, allocations: 89.55 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.3735, allocations: 4 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.3735, allocations: 4.031 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.3735, allocations: 0 / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.3736, allocations: 15.98 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.747e-05/0.3737, allocations: 3.938 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.073e-05/0.3737, allocations: 7.984 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.3737, allocations: 4.125 kB / 1.325 GB, free: 14.93 MB / 1.029 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.096e-05/0.3738, allocations: 117.7 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.3738, allocations: 4 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.078e-05/0.3739, allocations: 15.91 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3739, allocations: 0 / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3739, allocations: 0 / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.3739, allocations: 3.938 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/0.3741, allocations: 177.6 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3741, allocations: 0 / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.244e-05/0.3742, allocations: 11.98 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.3742, allocations: 0 / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.872e-06/0.3742, allocations: 0 / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.3742, allocations: 4 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3742, allocations: 0 / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002881/0.3745, allocations: 187.3 kB / 1.325 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.203e-05/0.3745, allocations: 85.06 kB / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.3745, allocations: 0 / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.3747, allocations: 7.984 kB / 1.325 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.275e-05/0.3747, allocations: 8 kB / 1.325 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.3747, allocations: 7.984 kB / 1.325 GB, free: 14.2 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.381e-05/0.3748, allocations: 87.58 kB / 1.325 GB, free: 14.12 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3748, allocations: 0 / 1.325 GB, free: 14.12 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002315/0.375, allocations: 12 kB / 1.326 GB, free: 14.11 MB / 1.029 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.000641/0.3756, allocations: 0.7088 MB / 1.326 GB, free: 13.37 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002417/0.3759, allocations: 55.92 kB / 1.326 GB, free: 13.32 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3759, allocations: 0 / 1.326 GB, free: 13.32 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.609e-05/0.376, allocations: 23.98 kB / 1.326 GB, free: 13.29 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.3763, allocations: 7.984 kB / 1.326 GB, free: 13.29 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.3779, allocations: 1.336 MB / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.3783, allocations: 0.6846 MB / 1.328 GB, free: 11.15 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.194e-05/0.3783, allocations: 11.98 kB / 1.328 GB, free: 11.14 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.282e-05/0.3784, allocations: 15.44 kB / 1.328 GB, free: 11.12 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.3784, allocations: 0 / 1.328 GB, free: 11.12 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02339/0.4017, allocations: 1.778 MB / 1.33 GB, free: 9.445 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.192/8.593, allocations: 14.17 kB / 1.33 GB, free: 9.434 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_TotalAirDryAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.csv. Warning: Get data of variable toTotalAir.XiDry from file Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.csv failed! Error: Could not read variable toDryAir.XiTotalAir in file Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.csv. Warning: Get data of variable toDryAir.XiTotalAir from file Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.45768791809678]