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.001107/0.001107, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.00116/0.00116, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.928/0.928, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.773/1.773, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.545e-06/2.545e-06, allocations: 0 / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.74e-05/2.995e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002562/0.002592, allocations: 1.509 MB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0004337/0.003025, allocations: 128.3 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.392e-05/0.003089, allocations: 3.938 kB / 1.001 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.244e-05/0.003132, allocations: 3.938 kB / 1.001 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.707e-05/0.003209, allocations: 7.875 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004151/0.003624, allocations: 67.83 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.003774, allocations: 59.84 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001688/0.003943, allocations: 15.97 kB / 1.001 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.004051, allocations: 35.92 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.29e-05/0.004134, allocations: 15.97 kB / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.107e-05/0.004165, allocations: 4 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.59e-05/0.004181, allocations: 8 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.361e-05/0.004215, allocations: 15.91 kB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.896e-05/0.004254, allocations: 15.98 kB / 1.001 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001572/0.004411, allocations: 63.78 kB / 1.002 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.004416, allocations: 3.938 kB / 1.002 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.956e-06/0.004419, allocations: 0 / 1.002 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.964e-06/0.004426, allocations: 4 kB / 1.002 GB, free: 11.55 MB / 0.9636 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.0006402/0.005066, allocations: 298.2 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.481e-05/0.005131, allocations: 8.75 kB / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.667e-05/0.005167, allocations: 38.73 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.52e-05/0.005202, allocations: 0.9375 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.005318, allocations: 109.8 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.00542, allocations: 63.97 kB / 1.002 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.005434, allocations: 4.375 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.00564, allocations: 111.9 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.005649, allocations: 192 / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.005665, allocations: 384 / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.005675, allocations: 7.922 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.005793, allocations: 51.89 kB / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000571/0.006364, allocations: 263.9 kB / 1.002 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.006482, allocations: 54.48 kB / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.968e-05/0.006551, allocations: 36.86 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.006566, allocations: 0 / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.006595, allocations: 30.56 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.006597, allocations: 0 / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0002914/0.006888, allocations: 97.77 kB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.006929, allocations: 59.41 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.014e-05/0.007019, allocations: 109.8 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.007037, allocations: 29.7 kB / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.248e-05/0.007099, allocations: 100 kB / 1.003 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.624e-05/0.007116, allocations: 7.906 kB / 1.003 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.056e-05/0.007156, allocations: 17.72 kB / 1.003 GB, free: 9.887 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.007267, allocations: 314.8 kB / 1.003 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.195e-05/0.007339, allocations: 31.84 kB / 1.003 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.418e-05/0.007403, allocations: 29.7 kB / 1.003 GB, free: 9.504 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.007515, allocations: 61.67 kB / 1.003 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.007519, allocations: 7.938 kB / 1.003 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001348/0.007654, allocations: 81.59 kB / 1.003 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.007673, allocations: 5.562 kB / 1.003 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.00768, allocations: 0 / 1.003 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.007694, allocations: 0 / 1.003 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.172e-05/0.007776, allocations: 24.02 kB / 1.004 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.007783, allocations: 0 / 1.004 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.146e-05/0.007815, allocations: 11.94 kB / 1.004 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.007821, allocations: 4 kB / 1.004 GB, free: 9.301 MB / 0.9636 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.252e-05/0.007893, allocations: 113.8 kB / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.652e-05/0.00791, allocations: 4 kB / 1.004 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.534e-05/0.007935, allocations: 4 kB / 1.004 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/0.007939, allocations: 0 / 1.004 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.007949, allocations: 7.938 kB / 1.004 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.007953, allocations: 4 kB / 1.004 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.0081, allocations: 148.7 kB / 1.004 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.008102, allocations: 0 / 1.004 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.281e-05/0.008145, allocations: 11.98 kB / 1.004 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.008148, allocations: 4 kB / 1.004 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.008157, allocations: 0 / 1.004 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.008157, allocations: 128 / 1.004 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.008159, allocations: 4 kB / 1.004 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.008327, allocations: 179.4 kB / 1.004 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.836e-06/0.008336, allocations: 4 kB / 1.004 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.008349, allocations: 4 kB / 1.004 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.146e-05/0.008421, allocations: 7.984 kB / 1.004 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.008466, allocations: 11.98 kB / 1.004 GB, free: 8.727 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.008474, allocations: 3.938 kB / 1.004 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.898e-05/0.008513, allocations: 91.2 kB / 1.004 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.008513, allocations: 0 / 1.004 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001605/0.008673, allocations: 15.95 kB / 1.004 GB, free: 8.617 MB / 0.9636 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.0004033/0.009077, allocations: 0.7046 MB / 1.005 GB, free: 7.887 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001452/0.009222, allocations: 51.89 kB / 1.005 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.009227, allocations: 4 kB / 1.005 GB, free: 7.832 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.525e-05/0.009272, allocations: 20.27 kB / 1.005 GB, free: 7.812 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.009563, allocations: 9.828 kB / 1.005 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.01078, allocations: 1.34 MB / 1.006 GB, free: 6.375 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.58e-05/0.01084, allocations: 67.34 kB / 1.006 GB, free: 6.289 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.079e-05/0.01088, allocations: 8 kB / 1.006 GB, free: 6.281 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.087e-05/0.01093, allocations: 16.48 kB / 1.006 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of SimCode: time 1.442e-06/0.01093, allocations: 0 / 1.006 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02027/0.0312, allocations: 2.473 MB / 1.009 GB, free: 3.934 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.907/6.938, allocations: 10.44 kB / 1.009 GB, free: 3.926 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 11.198117095977068]